aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r--crates/ra_syntax/src/ast/expr_extensions.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_syntax/src/ast/expr_extensions.rs b/crates/ra_syntax/src/ast/expr_extensions.rs
index 745dece98..8284f1b25 100644
--- a/crates/ra_syntax/src/ast/expr_extensions.rs
+++ b/crates/ra_syntax/src/ast/expr_extensions.rs
@@ -247,9 +247,7 @@ impl ast::Literal {
247 // The lexer treats e.g. `1f64` as an integer literal. See 247 // The lexer treats e.g. `1f64` as an integer literal. See
248 // https://github.com/rust-analyzer/rust-analyzer/issues/1592 248 // https://github.com/rust-analyzer/rust-analyzer/issues/1592
249 // and the comments on the linked PR. 249 // and the comments on the linked PR.
250 let float_suffix_list = [ 250 let float_suffix_list = ["f32", "f64"];
251 "f32", "f64"
252 ];
253 251
254 let text = self.token().text().to_string(); 252 let text = self.token().text().to_string();
255 253