Skip to content

Commit

Permalink
Suppress clippy warning about needless updates
Browse files Browse the repository at this point in the history
  • Loading branch information
robertknight committed Oct 3, 2024
1 parent 860da2d commit 4867ead
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ocrs-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ fn main() -> Result<(), Box<dyn Error>> {
})?;

// Initialize OCR engine.
#[allow(clippy::needless_update)]
let engine = OcrEngine::new(OcrEngineParams {
detection_model: Some(detection_model),
recognition_model: Some(recognition_model),
Expand Down

0 comments on commit 4867ead

Please sign in to comment.