fairly major reorganization and clippy cleanup

This commit is contained in:
Henry
2023-01-10 15:28:36 -06:00
parent 59183a5383
commit a32de48f34
42 changed files with 199 additions and 166 deletions

View File

@@ -100,6 +100,7 @@ impl AddressBookParsedRXingResult {
)
}
#[allow(clippy::too_many_arguments)]
pub fn with_details(
names: Vec<String>,
nicknames: Vec<String>,

View File

@@ -97,6 +97,7 @@ impl ParsedRXingResult for CalendarParsedRXingResult {
}
impl CalendarParsedRXingResult {
#[allow(clippy::too_many_arguments)]
pub fn new(
summary: String,
startString: String,

View File

@@ -73,6 +73,7 @@ impl ExpandedProductParsedRXingResult {
pub const KILOGRAM: &'static str = "KG";
pub const POUND: &'static str = "LB";
#[allow(clippy::too_many_arguments)]
pub fn new(
rawText: String,
productID: String,

View File

@@ -62,6 +62,7 @@ impl ParsedRXingResult for VINParsedRXingResult {
}
}
impl VINParsedRXingResult {
#[allow(clippy::too_many_arguments)]
pub fn new(
vin: String,
world_manufacturer_id: String,

View File

@@ -74,6 +74,7 @@ impl WifiParsedRXingResult {
)
}
#[allow(clippy::too_many_arguments)]
pub fn with_details(
networkEncryption: String,
ssid: String,