mirror of
https://github.com/bertptrs/adventofcode.git
synced 2025-12-26 21:30:31 +01:00
Replace format("{}") with .to_string() where possible.
This commit is contained in:
@@ -117,7 +117,7 @@ impl Solution for Day10 {
|
||||
self.run(1);
|
||||
height = self.height();
|
||||
}
|
||||
format!("{}", steps - 1)
|
||||
(steps - 1).to_string()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user