Some clippy fixes for 1.36
This commit is contained in:
@@ -260,7 +260,7 @@ impl ast::Literal {
|
||||
.iter()
|
||||
.find(|&s| text.ends_with(s))
|
||||
.map(|&suf| SmolStr::new(suf));
|
||||
LiteralKind::FloatNumber { suffix: suffix }
|
||||
LiteralKind::FloatNumber { suffix }
|
||||
}
|
||||
STRING | RAW_STRING => LiteralKind::String,
|
||||
T![true] | T![false] => LiteralKind::Bool,
|
||||
|
||||
Reference in New Issue
Block a user