From 078598d4a5219cd37a83432faecddac186ba5b23 Mon Sep 17 00:00:00 2001 From: Brian Schwind Date: Sat, 4 May 2024 19:11:53 +0900 Subject: [PATCH] Appease clippy --- shared/src/prompts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/src/prompts.rs b/shared/src/prompts.rs index 238249a..7855663 100644 --- a/shared/src/prompts.rs +++ b/shared/src/prompts.rs @@ -138,7 +138,7 @@ pub fn rename_cidr( }; let mut new_cidr = old_cidr; - new_cidr.contents.name = new_name.clone(); + new_cidr.contents.name.clone_from(&new_name); Ok( if args.yes