Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
printfn committed Nov 29, 2024
1 parent 78a3d56 commit b2a3c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ fn to_roman(mut num: usize, large: bool) -> String {
("I", 1),
];
if large {
for &(ref r, mut n) in &values[0..values.len() - 1] {
for &(r, mut n) in &values[0..values.len() - 1] {
n *= 1000;
let q = num / n;
num -= q * n;
Expand Down

0 comments on commit b2a3c2a

Please sign in to comment.