File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/formality-macros/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -188,22 +188,22 @@ fn parse_variant_with_attr(
188
188
spec:: FormalitySpecSymbol :: Keyword { ident } => {
189
189
let literal = as_literal ( ident) ;
190
190
quote_spanned ! ( ident. span( ) =>
191
- let ( ) = __p. expect_keyword( #literal) ?;
191
+ __p. expect_keyword( #literal) ?;
192
192
)
193
193
}
194
194
195
195
spec:: FormalitySpecSymbol :: Char { punct } => {
196
196
let literal = Literal :: character ( punct. as_char ( ) ) ;
197
197
quote_spanned ! (
198
198
punct. span( ) =>
199
- let ( ) = __p. expect_char( #literal) ?;
199
+ __p. expect_char( #literal) ?;
200
200
)
201
201
}
202
202
203
203
spec:: FormalitySpecSymbol :: Delimeter { text } => {
204
204
let literal = Literal :: character ( * text) ;
205
205
quote ! (
206
- let ( ) = __p. expect_char( #literal) ?;
206
+ __p. expect_char( #literal) ?;
207
207
)
208
208
}
209
209
} ) ;
You can’t perform that action at this time.
0 commit comments