• git-index 0.12.2/src/extension/tree/verify.rs
    100
                    // This is actually needed here as it's a mut ref, which isn't copy. We do a re-borrow here.
    101
                    #[allow(clippy::needless_option_as_deref)]
    102
                    let actual_num_entries = verify_recursive(child.id, &child.children, find_buf.as_deref_mut(), find)?;
  • git-odb 0.40.1/src/store_impls/dynamic/prefix.rs
    150
                for index in snapshot.indices.iter() {
    151
                    #[allow(clippy::needless_option_as_deref)] // needed as it's the equivalent of a reborrow.
    152
                    let lookup_result = index.lookup_prefix(prefix, candidates.as_deref_mut());
    158
                for lodb in snapshot.loose_dbs.iter() {
    159
                    #[allow(clippy::needless_option_as_deref)] // needed as it's the equivalent of a reborrow.
    160
                    let lookup_result = lodb.lookup_prefix(prefix, candidates.as_deref_mut())?;
  • gstreamer 0.19.7/src/pad.rs
    1398
    #[allow(clippy::needless_option_as_deref)]
    1399
    unsafe extern "C" fn trampoline_getrange_function<
  • gstreamer-base 0.19.3/src/subclass/base_src.rs
    771
    #[allow(clippy::needless_option_as_deref)]
    772
    unsafe extern "C" fn base_src_create<T: BaseSrcImpl>(
  • gstreamer-base 0.19.3/src/subclass/push_src.rs
    238
    #[allow(clippy::needless_option_as_deref)]
    239
    unsafe extern "C" fn push_src_create<T: PushSrcImpl>(
  • ipfs-sqlite-block-store 0.13.0/src/lib.rs
    667
            for block in blocks {
    668
                #[allow(clippy::needless_option_as_deref)]
    669
                txn.put_block(block, pin.as_deref_mut())?;
  • memflow 0.2.0-beta9/src/connector/fileio.rs
    131
    #[allow(clippy::needless_option_as_deref)]
    132
    #[allow(clippy::collapsible_if)]
  • memflow 0.2.0-beta9/src/connector/mmap.rs
    93
    #[allow(clippy::needless_option_as_deref)]
    94
    impl<'a, F: AsRef<MemoryMap<&'a mut [u8]>> + Send> PhysicalMemory
    141
    #[allow(clippy::needless_option_as_deref)]
    142
    impl<'a, F: AsRef<MemoryMap<&'a [u8]>> + Send> PhysicalMemory
  • memflow 0.2.0-beta9/src/mem/mem_map.rs
    404
    #[allow(clippy::needless_option_as_deref)]
    405
    impl<
  • memflow 0.2.0-beta9/src/mem/phys_mem/cache/page_cache.rs
    43
    #[allow(clippy::needless_option_as_deref)]
    44
    impl<'a, T: CacheValidator> PageCache<'a, T> {
  • memflow 0.2.0-beta9/src/mem/virt_mem/virtual_dma.rs
    200
    #[allow(clippy::needless_option_as_deref)]
    201
    impl<T: PhysicalMemory, V: VirtualTranslate2, D: VirtualTranslate3> MemoryView
  • mio 0.8.5/src/sys/windows/named_pipe.rs
    796
            let mut io = me.io.lock().unwrap();
    797
            #[allow(clippy::needless_option_as_deref)]
    798
            if Inner::schedule_read(me, &mut io, events.as_deref_mut()) {
  • mio_wasi 0.8.4/src/sys/windows/named_pipe.rs
    796
            let mut io = me.io.lock().unwrap();
    797
            #[allow(clippy::needless_option_as_deref)]
    798
            if Inner::schedule_read(me, &mut io, events.as_deref_mut()) {
  • mongodb 2.4.0-beta.1/src/coll/mod.rs
    220
        #[allow(clippy::needless_option_as_deref)]
    221
        async fn drop_common(
    256
        #[cfg(feature = "in-use-encryption-unstable")]
    257
        #[allow(clippy::needless_option_as_deref)]
    258
        async fn drop_aux_collections(
    1172
    {
    1173
        #[allow(clippy::needless_option_as_deref)]
    1174
        async fn insert_many_common(
  • mongodb 2.4.0-beta.1/src/db/mod.rs
    291
        #[allow(clippy::needless_option_as_deref)]
    292
        async fn create_collection_common(
    366
        #[cfg(feature = "in-use-encryption-unstable")]
    367
        #[allow(clippy::needless_option_as_deref)]
    368
        async fn create_aux_collections(
  • python-oxidized-importer 0.9.0/src/lib.rs
    7
    mod conversion;
    8
    #[allow(clippy::needless_option_as_deref)]
    9
    mod importer;
    12
    mod package_metadata;
    13
    #[allow(clippy::needless_option_as_deref)]
    14
    mod path_entry_finder;
    15
    mod pkg_resources;
    16
    #[allow(clippy::needless_option_as_deref)]
    17
    mod python_resource_collector;
    22
    #[cfg(feature = "zipimport")]
    23
    #[allow(clippy::needless_option_as_deref)]
    24
    mod zip_import;
  • teloxide-core 0.9.0/src/adaptors/throttle/worker.rs
    307
            // moved-out error.
    308
            #[allow(clippy::needless_option_as_deref)]
    309
            if let Some(slow_mode) = slow_mode.as_deref_mut() {
  • tender 0.1.1/src/core/mod.rs
    412
                    }
    413
                    #[allow(clippy::needless_option_as_deref)]
    414
                    self.set_state(State::Follower, set_prev_state.as_deref_mut());
  • wgpu-core 0.15.0/src/track/texture.rs
    1398
    #[allow(clippy::needless_option_as_deref)] // we use this for reborrowing Option<&mut T>
    1399
    #[inline(always)]
  • xh 0.17.0/src/middleware.rs
    28
                [ref mut head, tail @ ..] => head.handle(
    29
                    #[allow(clippy::needless_option_as_deref)]
    30
                    Context::new(self.client, self.printer.as_deref_mut(), tail),
  • diamond-types 1.0.0/src/list/merge/merge.rs
    2
    // checker.
    3
    #![allow(clippy::needless_option_as_deref)]
  • facto 0.3.1/src/optimized_factoring/mod.rs
    1
    // I don't know how else to pass an Option<&mut T> as an argument multiple times, other than Option<&mut T>::as_deref_mut()
    2
    #![allow(clippy::needless_option_as_deref)]