chore: cargo fmt

This commit is contained in:
Henry Schimke
2024-01-31 19:09:50 -06:00
parent 175511180f
commit 13c5bb5916
6 changed files with 15 additions and 26 deletions

View File

@@ -156,7 +156,7 @@ impl<LS: LuminanceSource> GlobalHistogramBinarizer<LS> {
let row = height * y / 5;
let localLuminances = source.get_row(row);
let right = (width * 4) / 5;
for x in (width/5)..right {
for x in (width / 5)..right {
let pixel = localLuminances[x];
localBuckets[(pixel >> LUMINANCE_SHIFT) as usize] += 1;
}