Fix clippy warning
parent
f91551a109
commit
d81a73d99a
|
@ -138,7 +138,7 @@ pub fn rename_cidr(
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut new_cidr = old_cidr;
|
let mut new_cidr = old_cidr;
|
||||||
new_cidr.contents.name = new_name.clone();
|
new_cidr.contents.name.clone_from(&new_name);
|
||||||
|
|
||||||
Ok(
|
Ok(
|
||||||
if args.yes
|
if args.yes
|
||||||
|
|
Loading…
Reference in New Issue