mirror of https://github.com/rust-lang/rust.git
Actually fix at_ts doc comment (committed wrong file :P)
This commit is contained in:
parent
012537bd6c
commit
29bf389034
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue