135 |
#[inline]
|
136 |
#[allow(clippy::iter_with_drain)] // "`drain(..)` used on a `Vec`"; suggests `into_iter()` but we don't have the vec by value
|
137 |
pub fn append_vec(&mut self, src: &mut Vec<T>) {
|
848 |
// oof
|
849 |
#[allow(clippy::iter_with_drain)] // don't eat undo, so we can drop it
|
850 |
for u in undo.drain(..).rev() {
|
119 |
#[allow(clippy::iter_with_drain)]
|
120 |
let events = Arc::from(set.drain(..).collect::<Vec<_>>().into_boxed_slice());
|
170 |
// https://github.com/rust-lang/rust-clippy/issues/8538
|
171 |
clippy::iter_with_drain,
|
172 |
clippy::needless_doctest_main,
|
8 |
// This Clippy chcek seems to be always wrong.
|
9 |
#![allow(clippy::iter_with_drain)]
|
155 |
// https://github.com/rust-lang/rust-clippy/issues/8539
|
156 |
clippy::iter_with_drain,
|
157 |
clippy::module_name_repetitions,
|