mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
cargo format
This commit is contained in:
parent
4fd7ad908b
commit
fab8e9bb8a
1 changed files with 1 additions and 3 deletions
|
@ -247,9 +247,7 @@ impl ast::Literal {
|
||||||
// The lexer treats e.g. `1f64` as an integer literal. See
|
// The lexer treats e.g. `1f64` as an integer literal. See
|
||||||
// https://github.com/rust-analyzer/rust-analyzer/issues/1592
|
// https://github.com/rust-analyzer/rust-analyzer/issues/1592
|
||||||
// and the comments on the linked PR.
|
// and the comments on the linked PR.
|
||||||
let float_suffix_list = [
|
let float_suffix_list = ["f32", "f64"];
|
||||||
"f32", "f64"
|
|
||||||
];
|
|
||||||
|
|
||||||
let text = self.token().text().to_string();
|
let text = self.token().text().to_string();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue