Skip to content

Commit

Permalink
fix: fix failing test for 59th glyph
Browse files Browse the repository at this point in the history
  • Loading branch information
craigmayhew committed May 22, 2024
1 parent 1467e19 commit fd72596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/cruncher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mod numerics_to_text {
// Create a precomputed vector of glyphs for 0-59
let mut glyphs: Vec<String> = Vec::with_capacity(60);
glyphs.push(" &nbsp; &nbsp; ".to_owned());
for i in 1..59 {
for i in 1..=59 {
glyphs.push(format!("{}{}", TENS[i / 10], UNITS[i % 10]));
}

Expand Down

0 comments on commit fd72596

Please sign in to comment.