refactor: allow known clippy issues
parent
94818b992a
commit
175518e3a6
|
@ -61,6 +61,7 @@ pub struct InvariantEntry {
|
||||||
pub value: EntryValue,
|
pub value: EntryValue,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::large_enum_variant)]
|
||||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||||
#[serde(tag = "t", content = "c")]
|
#[serde(tag = "t", content = "c")]
|
||||||
pub enum EntryValue {
|
pub enum EntryValue {
|
||||||
|
|
|
@ -79,6 +79,7 @@ impl TryFrom<lexpr::Value> for Attribute {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::large_enum_variant)]
|
||||||
#[derive(Debug, Clone, PartialEq)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub enum QueryPart {
|
pub enum QueryPart {
|
||||||
Matches(PatternQuery),
|
Matches(PatternQuery),
|
||||||
|
|
|
@ -385,6 +385,7 @@ pub struct InEntry {
|
||||||
pub value: EntryValue,
|
pub value: EntryValue,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::large_enum_variant)]
|
||||||
#[derive(Debug, Clone, Deserialize)]
|
#[derive(Debug, Clone, Deserialize)]
|
||||||
#[serde(untagged, deny_unknown_fields)]
|
#[serde(untagged, deny_unknown_fields)]
|
||||||
pub enum PutInput {
|
pub enum PutInput {
|
||||||
|
|
|
@ -136,6 +136,7 @@ impl FsStore {
|
||||||
|
|
||||||
// Actual processing
|
// Actual processing
|
||||||
let count = RwLock::new(0_usize);
|
let count = RwLock::new(0_usize);
|
||||||
|
#[allow(clippy::type_complexity)]
|
||||||
let resolve_cache: Arc<Mutex<LruCache<(Option<Address>, UNode), Address>>> =
|
let resolve_cache: Arc<Mutex<LruCache<(Option<Address>, UNode), Address>>> =
|
||||||
Arc::new(Mutex::new(LruCache::new(256)));
|
Arc::new(Mutex::new(LruCache::new(256)));
|
||||||
let total = paths.len() as f32;
|
let total = paths.len() as f32;
|
||||||
|
@ -238,6 +239,7 @@ impl FsStore {
|
||||||
Ok(all_outcomes)
|
Ok(all_outcomes)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::too_many_arguments)]
|
||||||
fn process_directory_entry<D: Borrow<UpEndDatabase>>(
|
fn process_directory_entry<D: Borrow<UpEndDatabase>>(
|
||||||
&self,
|
&self,
|
||||||
db: D,
|
db: D,
|
||||||
|
|
Loading…
Reference in New Issue