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

@@ -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() {

View File

@@ -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