Fix clippy warning

dynamic-global-ip-resolution
Ryo Kawaguchi 2024-06-14 11:35:05 +09:00
parent f91551a109
commit d81a73d99a
1 changed files with 1 additions and 1 deletions

View File

@ -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