From 065e22db967df2addc42010c18f5156013c4ab50 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 22 Jun 2021 10:20:39 +0300 Subject: [PATCH] chore: fix clippy warnings --- itconfig-macro/src/parse.rs | 2 +- itconfig/src/utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/itconfig-macro/src/parse.rs b/itconfig-macro/src/parse.rs index 7440da3..8acc60e 100644 --- a/itconfig-macro/src/parse.rs +++ b/itconfig-macro/src/parse.rs @@ -166,7 +166,7 @@ impl Parse for RootNamespace { let mut variables: Vec = vec![]; let mut namespaces: Vec = 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(); diff --git a/itconfig/src/utils.rs b/itconfig/src/utils.rs index 441beed..6ae25ce 100644 --- a/itconfig/src/utils.rs +++ b/itconfig/src/utils.rs @@ -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 }) }