Compare commits

..

1 Commits

Author SHA1 Message Date
41c615b03a rename variable to make more sense 2026-03-03 14:26:30 -06:00

View File

@@ -52,15 +52,15 @@ impl Row {
fn make_checksum() -> String {
let base = rand::random_range(10000..99999).to_string();
let expect = "a valid character in the base checksum";
let split_expect = "a valid character in the base checksum";
let split = format!(
"{}{}{}{}{}",
base.chars().next().expect(expect),
base.chars().nth(2).expect(expect),
base.chars().nth(4).expect(expect),
base.chars().nth(1).expect(expect),
base.chars().nth(3).expect(expect)
base.chars().next().expect(split_expect),
base.chars().nth(2).expect(split_expect),
base.chars().nth(4).expect(split_expect),
base.chars().nth(1).expect(split_expect),
base.chars().nth(3).expect(split_expect)
)
.repeat(2);