Fix clippy lints
This commit is contained in:
parent
f0dd03d633
commit
f68826057b
4 changed files with 7 additions and 9 deletions
|
|
@ -58,7 +58,7 @@ impl From<BTreeMap<Option<String>, String>> for NamespaceSet {
|
|||
fn from(namespaces: BTreeMap<Option<String>, String>) -> Self {
|
||||
NamespaceSet {
|
||||
parent: RefCell::new(None),
|
||||
namespaces: namespaces,
|
||||
namespaces,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -79,7 +79,7 @@ impl From<String> for NamespaceSet {
|
|||
|
||||
NamespaceSet {
|
||||
parent: RefCell::new(None),
|
||||
namespaces: namespaces,
|
||||
namespaces,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -92,7 +92,7 @@ impl From<(Option<String>, String)> for NamespaceSet {
|
|||
|
||||
NamespaceSet {
|
||||
parent: RefCell::new(None),
|
||||
namespaces: namespaces,
|
||||
namespaces,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue