diff options
author | Jeremy Kolb <[email protected]> | 2019-07-04 18:26:44 +0100 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2019-07-04 22:43:00 +0100 |
commit | 4ad9e986ad05e404df73701c098b71f73a847ca6 (patch) | |
tree | 2a2b2cc9dbee07d0aa92df883c807edbab264a85 /crates/ra_syntax/src/ast | |
parent | c6a6e43372de9530ec7df0f38352466ed107e1a2 (diff) |
Some clippy fixes for 1.36
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r-- | crates/ra_syntax/src/ast/expr_extensions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/expr_extensions.rs b/crates/ra_syntax/src/ast/expr_extensions.rs index 87dbb0ea5..4355e3587 100644 --- a/crates/ra_syntax/src/ast/expr_extensions.rs +++ b/crates/ra_syntax/src/ast/expr_extensions.rs | |||
@@ -260,7 +260,7 @@ impl ast::Literal { | |||
260 | .iter() | 260 | .iter() |
261 | .find(|&s| text.ends_with(s)) | 261 | .find(|&s| text.ends_with(s)) |
262 | .map(|&suf| SmolStr::new(suf)); | 262 | .map(|&suf| SmolStr::new(suf)); |
263 | LiteralKind::FloatNumber { suffix: suffix } | 263 | LiteralKind::FloatNumber { suffix } |
264 | } | 264 | } |
265 | STRING | RAW_STRING => LiteralKind::String, | 265 | STRING | RAW_STRING => LiteralKind::String, |
266 | T![true] | T![false] => LiteralKind::Bool, | 266 | T![true] | T![false] => LiteralKind::Bool, |