From 29bf389034db9a0de4ec2dbd7492c1f75caf4a60 Mon Sep 17 00:00:00 2001 From: DJMcNab <36049421+DJMcNab@users.noreply.github.com> Date: Tue, 18 Dec 2018 21:15:14 +0000 Subject: Actually fix at_ts doc comment (committed wrong file :P) --- crates/ra_syntax/src/parser_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') 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> { self.current() == kind } - /// Checks if the current token is `kind`. + /// Checks if the current token is in `kinds`. pub(crate) fn at_ts(&self, kinds: TokenSet) -> bool { kinds.contains(self.current()) } -- cgit v1.2.3