From b43f760fb1ff965e171bbde0440531ac17e46a9b Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Fri, 28 Feb 2025 00:05:57 +0000 Subject: [PATCH] fmt: feedback from clippy --- src/common/set_roles.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/set_roles.rs b/src/common/set_roles.rs index 323677f..b857e8a 100644 --- a/src/common/set_roles.rs +++ b/src/common/set_roles.rs @@ -218,8 +218,8 @@ pub mod committee { // if a club/soc ever changes their name if let Some(x) = roles_db.get_mut(&committee.id) { - x.name_role = committee.name_full.to_owned(); - x.name_channel = committee.name_profile.to_owned(); + committee.name_full.clone_into(&mut x.name_role); + committee.name_profile.clone_into(&mut x.name_channel); } // handle new clubs/socs