From fab8e9bb8a2657d397a5d52595a83d428dcbd7b8 Mon Sep 17 00:00:00 2001 From: Phil Ellison Date: Sun, 28 Jul 2019 20:54:37 +0100 Subject: cargo format --- crates/ra_syntax/src/ast/expr_extensions.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'crates') 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 { // The lexer treats e.g. `1f64` as an integer literal. See // https://github.com/rust-analyzer/rust-analyzer/issues/1592 // and the comments on the linked PR. - let float_suffix_list = [ - "f32", "f64" - ]; + let float_suffix_list = ["f32", "f64"]; let text = self.token().text().to_string(); -- cgit v1.2.3