From 6ec2462def40b7bba058b502102bcd529229cf61 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 9 Nov 2021 01:11:35 +0300 Subject: [PATCH] style: fix clippy warnings --- itconfig-macro/src/parse.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itconfig-macro/src/parse.rs b/itconfig-macro/src/parse.rs index 8acc60e..241e9da 100644 --- a/itconfig-macro/src/parse.rs +++ b/itconfig-macro/src/parse.rs @@ -14,7 +14,7 @@ fn fill_env_prefix(prefix: String) -> Box Namespace> { Box::new(move |mut ns| { let env_prefix = match &ns.env_prefix { None => { - let env_prefix = format!("{}{}_", prefix, ns.name.clone().to_string()); + let env_prefix = format!("{}{}_", prefix, ns.name.clone()); ns.env_prefix = Some(env_prefix.clone()); env_prefix }