diff options
author | DJMcNab <[email protected]> | 2018-12-18 21:15:14 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-19 20:12:18 +0000 |
commit | 29bf389034db9a0de4ec2dbd7492c1f75caf4a60 (patch) | |
tree | fe34e70340039c9f0b7105b0f49d995c9e28f114 /crates/ra_syntax/src | |
parent | 012537bd6cdf2348dc7bc4ec89c8ecbb9578f5b3 (diff) |
Actually fix at_ts doc comment (committed wrong file :P)
Diffstat (limited to 'crates/ra_syntax/src')
-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 | } |