Skip to content

Commit a94c564

Browse files
committed
Fix typo
1 parent 96c3ff1 commit a94c564

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/ra_syntax/src/ast/expr_ext.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,13 +333,12 @@ impl ast::Literal {
333333

334334
match token.kind() {
335335
INT_NUMBER => {
336-
// FYI: there was a bug here previously, thus an if statement bellow is necessary.
336+
// FYI: there was a bug here previously, thus the if statement below is necessary.
337337
// The lexer treats e.g. `1f64` as an integer literal. See
338338
// https://github.com/rust-analyzer/rust-analyzer/issues/1592
339339
// and the comments on the linked PR.
340340

341341
let text = token.text();
342-
343342
if let suffix @ Some(_) = Self::find_suffix(&text, &FLOAT_SUFFIXES) {
344343
LiteralKind::FloatNumber { suffix }
345344
} else {

0 commit comments

Comments
 (0)