diff options
Diffstat (limited to 'crates/ra_macros/src/tt_cursor.rs')
-rw-r--r-- | crates/ra_macros/src/tt_cursor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_macros/src/tt_cursor.rs b/crates/ra_macros/src/tt_cursor.rs index 6dc9f400d..046770a0f 100644 --- a/crates/ra_macros/src/tt_cursor.rs +++ b/crates/ra_macros/src/tt_cursor.rs | |||
@@ -28,7 +28,7 @@ impl<'a> TtCursor<'a> { | |||
28 | 28 | ||
29 | pub(crate) fn at_char(&self, char: char) -> bool { | 29 | pub(crate) fn at_char(&self, char: char) -> bool { |
30 | match self.at_punct() { | 30 | match self.at_punct() { |
31 | Some(tt::Punct { char: c }) if *c == char => true, | 31 | Some(tt::Punct { char: c, .. }) if *c == char => true, |
32 | _ => false, | 32 | _ => false, |
33 | } | 33 | } |
34 | } | 34 | } |