clippy --fix

This commit is contained in:
Henry Schimke
2023-01-05 11:00:46 -06:00
parent 20764559ae
commit 453fc41f3f
5 changed files with 6 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ use super::{decoder::Decoder, detector::Detector};
use once_cell::sync::Lazy;
static DECODER: Lazy<Decoder> = Lazy::new(|| Decoder::new());
static DECODER: Lazy<Decoder> = Lazy::new(Decoder::new);
/**
* This implementation can detect and decode Data Matrix codes in an image.

View File

@@ -19,7 +19,7 @@ use once_cell::sync::Lazy;
use crate::Exceptions;
static VERSIONS: Lazy<Vec<Version>> = Lazy::new(|| Version::buildVersions());
static VERSIONS: Lazy<Vec<Version>> = Lazy::new(Version::buildVersions);
pub type VersionRef = &'static Version;