Skip to content

Commit 20eba43

Browse files
committed
Fix formatting
1 parent 65eb7e5 commit 20eba43

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/rustc_ast/src/token.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,10 @@ impl Token {
587587
}
588588

589589
pub fn is_numeric_lit(&self) -> bool {
590-
matches!(self.kind, Literal(Lit { kind: LitKind::Integer, ..}) | Literal(Lit { kind: LitKind::Float, ..}))
590+
matches!(
591+
self.kind,
592+
Literal(Lit { kind: LitKind::Integer, .. }) | Literal(Lit { kind: LitKind::Float, .. })
593+
)
591594
}
592595

593596
/// Returns `true` if the token is a non-raw identifier for which `pred` holds.

0 commit comments

Comments
 (0)