Apply clippy feedback to CLI apps

This commit is contained in:
Greg Fitzgerald
2018-07-11 13:32:54 -06:00
committed by Greg Fitzgerald
parent 84c28a077a
commit f98e9aba48
4 changed files with 55 additions and 52 deletions

View File

@@ -82,7 +82,7 @@ fn main() -> () {
None,
)
} else {
node.data.leader_id = node.data.id.clone();
node.data.leader_id = node.data.id;
let outfile = if let Some(o) = matches.value_of("output") {
OutFile::Path(o.to_string())