Fix formatting
This commit is contained in:
parent
65eb7e516c
commit
20eba43283
1 changed files with 4 additions and 1 deletions
|
@ -587,7 +587,10 @@ impl Token {
|
|||
}
|
||||
|
||||
pub fn is_numeric_lit(&self) -> bool {
|
||||
matches!(self.kind, Literal(Lit { kind: LitKind::Integer, ..}) | Literal(Lit { kind: LitKind::Float, ..}))
|
||||
matches!(
|
||||
self.kind,
|
||||
Literal(Lit { kind: LitKind::Integer, .. }) | Literal(Lit { kind: LitKind::Float, .. })
|
||||
)
|
||||
}
|
||||
|
||||
/// Returns `true` if the token is a non-raw identifier for which `pred` holds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue