Fix clippy lints

This commit is contained in:
Emmanuel Gil Peyrot 2019-02-21 21:06:23 +01:00
commit f68826057b
4 changed files with 7 additions and 9 deletions

View file

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