mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Actually fix at_ts doc comment (committed wrong file :P)
This commit is contained in:
parent
012537bd6c
commit
29bf389034
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue