Silence clippy

This commit is contained in:
Maybe Waffle 2023-10-04 22:01:56 +04:00
parent fbd5bf66cd
commit 81b4c248a1

View file

@ -297,6 +297,8 @@ fn answer_info(rx: &mut mpsc::Receiver<InfoMessage>, limits: &mut Limits) {
} }
} }
// FIXME: https://github.com/rust-lang/rust-clippy/issues/11610
#[allow(clippy::needless_pass_by_ref_mut)]
async fn freeze( async fn freeze(
rx: &mut mpsc::Receiver<FreezeUntil>, rx: &mut mpsc::Receiver<FreezeUntil>,
mut slow_mode: Option<&mut HashMap<ChatIdHash, (Duration, Instant)>>, mut slow_mode: Option<&mut HashMap<ChatIdHash, (Duration, Instant)>>,