diff --git a/src/console/mod.rs b/src/console/mod.rs index 28b0689..72acfaa 100644 --- a/src/console/mod.rs +++ b/src/console/mod.rs @@ -135,7 +135,7 @@ impl Var for CVar { } fn deserialize(&self, input: &str) -> Box { - Box::new((&input[1..input.len() - 1]).to_owned()) + Box::new(input[1..input.len() - 1].to_owned()) } fn description(&self) -> &'static str {