aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
authorDJMcNab <[email protected]>2018-12-18 21:15:14 +0000
committerDJMcNab <[email protected]>2018-12-19 20:12:18 +0000
commit29bf389034db9a0de4ec2dbd7492c1f75caf4a60 (patch)
treefe34e70340039c9f0b7105b0f49d995c9e28f114 /crates/ra_syntax
parent012537bd6cdf2348dc7bc4ec89c8ecbb9578f5b3 (diff)
Actually fix at_ts doc comment (committed wrong file :P)
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r--crates/ra_syntax/src/parser_api.rs2
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 }