We dont need to clone() here
This commit is contained in:
parent
6f79e6e007
commit
847b65f3b0
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ fn setup<'a>(v: &'a mut Value, spec: &str, sep: char)
|
||||||
debug!("destination = {:?}", destination);
|
debug!("destination = {:?}", destination);
|
||||||
|
|
||||||
let path_to_dest : Vec<Token> = tokens[..(tokens.len() - 1)].into(); // N - 1 tokens
|
let path_to_dest : Vec<Token> = tokens[..(tokens.len() - 1)].into(); // N - 1 tokens
|
||||||
let value = try!(walk_header(v, path_to_dest.clone())); // walk N-1 tokens
|
let value = try!(walk_header(v, path_to_dest)); // walk N-1 tokens
|
||||||
|
|
||||||
debug!("walked value = {:?}", value);
|
debug!("walked value = {:?}", value);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue