clippy --fix

This commit is contained in:
Henry Schimke
2023-02-02 18:59:04 -06:00
parent 66543f9098
commit 01623ead6d
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ impl OtsuLevelBinarizer {
Self {
width: source.getWidth(),
height: source.getHeight(),
black_row_cache: vec![OnceCell::default(); source.getHeight() as usize],
black_row_cache: vec![OnceCell::default(); source.getHeight()],
source,
black_matrix: OnceCell::new(),
}