mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 12:22:34 +00:00
clippy --fix
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user