Skip to content

Commit cadb793

Browse files
author
CI
committed
"test"
1 parent dcacf3c commit cadb793

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

range/rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ impl fmt::Display for RangeError {
1818
impl Error for RangeError {}
1919

2020
fn scale_frequencies(freq: &mut [u32]) {
21-
let mut total: u64 = freq.iter().map(|&f| f as u64).sum();
21+
let total: u64 = freq.iter().map(|&f| f as u64).sum();
2222
if total == 0 {
2323
for f in freq.iter_mut() {
2424
*f = 1;

0 commit comments

Comments
 (0)