mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Silence clippy
This commit is contained in:
parent
fbd5bf66cd
commit
81b4c248a1
1 changed files with 2 additions and 0 deletions
|
@ -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)>>,
|
||||||
|
|
Loading…
Reference in a new issue