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 { Self {
width: source.getWidth(), width: source.getWidth(),
height: source.getHeight(), height: source.getHeight(),
black_row_cache: vec![OnceCell::default(); source.getHeight() as usize], black_row_cache: vec![OnceCell::default(); source.getHeight()],
source, source,
black_matrix: OnceCell::new(), black_matrix: OnceCell::new(),
} }

View File

@@ -16,7 +16,7 @@
//package com.google.zxing; //package com.google.zxing;
use std::any::Any;
use crate::Exceptions; use crate::Exceptions;