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 }