• gdnative-core 0.11.3/src/core_types/pool_array.rs
    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>) {
  • otter 1.2.1/src/global.rs
    848
          // oof
    849
          #[allow(clippy::iter_with_drain)] // don't eat undo, so we can drop it
    850
          for u in undo.drain(..).rev() {
  • watchexec 2.1.0/src/action/worker.rs
    119
    		#[allow(clippy::iter_with_drain)]
    120
    		let events = Arc::from(set.drain(..).collect::<Vec<_>>().into_boxed_slice());
  • ghost 0.1.7/src/lib.rs
    170
        // https://github.com/rust-lang/rust-clippy/issues/8538
    171
        clippy::iter_with_drain,
    172
        clippy::needless_doctest_main,
  • prusti-specs 0.1.3/src/lib.rs
    8
    // This Clippy chcek seems to be always wrong.
    9
    #![allow(clippy::iter_with_drain)]
  • rustversion 1.0.11/src/lib.rs
    155
        // https://github.com/rust-lang/rust-clippy/issues/8539
    156
        clippy::iter_with_drain,
    157
        clippy::module_name_repetitions,