1
Fork 0

Fix misuses of a vs an

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter 2023-09-28 16:15:41 +08:00
parent aeaa5c30e5
commit f44d116e1f
16 changed files with 18 additions and 18 deletions

View file

@ -446,7 +446,7 @@ impl Token {
}
}
/// Returns `true` if the token can appear at the start of an pattern.
/// Returns `true` if the token can appear at the start of a pattern.
///
/// Shamelessly borrowed from `can_begin_expr`, only used for diagnostics right now.
pub fn can_begin_pattern(&self) -> bool {