Fix clippy unreadable literal warnings

This commit is contained in:
Sylvestre Ledru
2026-03-09 22:52:32 +01:00
parent 3e86476a45
commit 4dced421b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ fn main() {
let mut cells = Vec::new();
for _ in 0..10000 {
cells.push(n.to_string());
n = n.overflowing_pow(2).0 % 100000000;
n = n.overflowing_pow(2).0 % 100_000_000;
}
let grid = Grid::new(
+1 -1
View File
@@ -224,7 +224,7 @@ fn exact_fit() {
// This is a reproduction of https://github.com/eza-community/eza/issues/845
#[test]
fn eza_many_folders() {
let cells: Vec<_> = (100000i32..=100401).map(|i| i.to_string()).collect();
let cells: Vec<_> = (100_000_i32..=100_401).map(|i| i.to_string()).collect();
let grid = Grid::new(
cells,