remove double &

This commit is contained in:
Mylloon 2022-01-05 01:50:12 +01:00
parent d625322305
commit d127f54f0c
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -152,7 +152,7 @@ pub async fn channel_id_by_name(api: &mattermost_api::client::Mattermost, salon:
match get_channel_info(api).await {
Ok(channels) => {
for channel in &channels {
if &channel.name == &salon {
if channel.name == salon {
return channel.id.clone();
}
}