mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 13:20:32 +01:00
Replace format("{}") with .to_string() where possible.
This commit is contained in:
@@ -133,7 +133,7 @@ impl Day18 {
|
||||
.flat_map(|x| x.iter())
|
||||
.cloned().grouping_count();
|
||||
|
||||
format!("{}", result[&Tile::Tree] * result[&Tile::Lumber])
|
||||
(result[&Tile::Tree] * result[&Tile::Lumber]).to_string()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user