diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_syntax/src/parser_api.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/parser_api.rs b/crates/ra_syntax/src/parser_api.rs index c37c30e34..02421def1 100644 --- a/crates/ra_syntax/src/parser_api.rs +++ b/crates/ra_syntax/src/parser_api.rs | |||
@@ -36,7 +36,7 @@ impl<'t> Parser<'t> { | |||
36 | self.current() == kind | 36 | self.current() == kind |
37 | } | 37 | } |
38 | 38 | ||
39 | /// Checks if the current token is `kind`. | 39 | /// Checks if the current token is in `kinds`. |
40 | pub(crate) fn at_ts(&self, kinds: TokenSet) -> bool { | 40 | pub(crate) fn at_ts(&self, kinds: TokenSet) -> bool { |
41 | kinds.contains(self.current()) | 41 | kinds.contains(self.current()) |
42 | } | 42 | } |