fmt: feedback from clippy
This commit is contained in:
parent
a11ba15f4a
commit
b43f760fb1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue