fmt: feedback from clippy

This commit is contained in:
silver 2025-02-28 00:05:57 +00:00
parent a11ba15f4a
commit b43f760fb1
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D

View file

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