chore: fix clippy warnings

This commit is contained in:
Dmitriy Pleshevskiy 2021-06-22 10:20:39 +03:00
parent 5bddfcfa6d
commit 065e22db96
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ impl Parse for RootNamespace {
let mut variables: Vec<Variable> = vec![];
let mut namespaces: Vec<Namespace> = vec![];
while !input.is_empty() {
parse_namespace_content(&input, &mut variables, &mut namespaces)?;
parse_namespace_content(input, &mut variables, &mut namespaces)?;
}
let prefix = String::new();

View File

@ -20,7 +20,7 @@ pub(crate) fn join(env_strings: &[EnvString], sep: &str) -> String {
if i > 0 {
res.push_str(sep);
}
res.push_str(&item);
res.push_str(item);
res
})
}