mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-27 21:02:35 +00:00
fairly major reorganization and clippy cleanup
This commit is contained in:
@@ -100,6 +100,7 @@ impl AddressBookParsedRXingResult {
|
||||
)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn with_details(
|
||||
names: Vec<String>,
|
||||
nicknames: Vec<String>,
|
||||
|
||||
@@ -97,6 +97,7 @@ impl ParsedRXingResult for CalendarParsedRXingResult {
|
||||
}
|
||||
|
||||
impl CalendarParsedRXingResult {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
summary: String,
|
||||
startString: String,
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -62,6 +62,7 @@ impl ParsedRXingResult for VINParsedRXingResult {
|
||||
}
|
||||
}
|
||||
impl VINParsedRXingResult {
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
vin: String,
|
||||
world_manufacturer_id: String,
|
||||
|
||||
@@ -74,6 +74,7 @@ impl WifiParsedRXingResult {
|
||||
)
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn with_details(
|
||||
networkEncryption: String,
|
||||
ssid: String,
|
||||
|
||||
Reference in New Issue
Block a user