aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/expr_extensions.rs
diff options
context:
space:
mode:
authorPhil Ellison <[email protected]>2019-07-28 20:54:37 +0100
committerPhil Ellison <[email protected]>2019-07-28 20:54:37 +0100
commitfab8e9bb8a2657d397a5d52595a83d428dcbd7b8 (patch)
treebab784b5d219fc4bf5e5b1dce2d698c8b4923e9e /crates/ra_syntax/src/ast/expr_extensions.rs
parent4fd7ad908b6e7cee0ee7853fcf29fb5a38a19aa2 (diff)
cargo format
Diffstat (limited to 'crates/ra_syntax/src/ast/expr_extensions.rs')
-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