mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 04:12:34 +00:00
clippy --fix
This commit is contained in:
@@ -44,7 +44,7 @@ use crate::{
|
||||
|
||||
use super::Code128Writer;
|
||||
|
||||
static WRITER: Lazy<Code128Writer> = Lazy::new(|| Code128Writer::default());
|
||||
static WRITER: Lazy<Code128Writer> = Lazy::new(Code128Writer::default);
|
||||
|
||||
#[test]
|
||||
fn testEncodeWithFunc3() {
|
||||
|
||||
@@ -24,9 +24,9 @@ use super::{one_d_reader, EANManufacturerOrgSupport, OneDReader, UPCEANExtension
|
||||
use once_cell::sync::Lazy;
|
||||
|
||||
pub static EAN_MANUFACTURER_SUPPORT: Lazy<EANManufacturerOrgSupport> =
|
||||
Lazy::new(|| EANManufacturerOrgSupport::default());
|
||||
Lazy::new(EANManufacturerOrgSupport::default);
|
||||
pub static UPC_EAN_EXTENSION_SUPPORT: Lazy<UPCEANExtensionSupport> =
|
||||
Lazy::new(|| UPCEANExtensionSupport::default());
|
||||
Lazy::new(UPCEANExtensionSupport::default);
|
||||
|
||||
// These two values are critical for determining how permissive the decoding will be.
|
||||
// We've arrived at these values through a lot of trial and error. Setting them any higher
|
||||
|
||||
Reference in New Issue
Block a user