Actually fix at_ts doc comment (committed wrong file :P)

This commit is contained in:
DJMcNab 2018-12-18 21:15:14 +00:00
parent 012537bd6c
commit 29bf389034
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}