fmt: feedback from clippy
All checks were successful
On_Push / lint_fmt (push) Successful in 32s
On_Push / lint_clippy (push) Successful in 1m8s
On_Push / build (push) Successful in 1m59s
On_Push / deploy (push) Successful in 19s

This commit is contained in:
silver 2025-02-28 00:05:57 +00:00
parent a11ba15f4a
commit b43f760fb1
Signed by: 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