chore: fix clippy warnings
This commit is contained in:
parent
5bddfcfa6d
commit
065e22db96
2 changed files with 2 additions and 2 deletions
|
@ -166,7 +166,7 @@ impl Parse for RootNamespace {
|
||||||
let mut variables: Vec<Variable> = vec![];
|
let mut variables: Vec<Variable> = vec![];
|
||||||
let mut namespaces: Vec<Namespace> = vec![];
|
let mut namespaces: Vec<Namespace> = vec![];
|
||||||
while !input.is_empty() {
|
while !input.is_empty() {
|
||||||
parse_namespace_content(&input, &mut variables, &mut namespaces)?;
|
parse_namespace_content(input, &mut variables, &mut namespaces)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
let prefix = String::new();
|
let prefix = String::new();
|
||||||
|
|
|
@ -20,7 +20,7 @@ pub(crate) fn join(env_strings: &[EnvString], sep: &str) -> String {
|
||||||
if i > 0 {
|
if i > 0 {
|
||||||
res.push_str(sep);
|
res.push_str(sep);
|
||||||
}
|
}
|
||||||
res.push_str(&item);
|
res.push_str(item);
|
||||||
res
|
res
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue