mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
auto clippy fixes
This commit is contained in:
parent
72c85efc83
commit
ef39bad7c6
146 changed files with 750 additions and 1005 deletions
|
@ -1457,6 +1457,6 @@ fn number_literal_to_ast<T: std::fmt::Display>(arena: &Bump, num: T) -> Expr<'_>
|
|||
use std::fmt::Write;
|
||||
|
||||
let mut string = bumpalo::collections::String::with_capacity_in(64, arena);
|
||||
write!(string, "{}", num).unwrap();
|
||||
write!(string, "{num}").unwrap();
|
||||
Expr::Num(string.into_bump_str())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue