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)?;
|
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())?;
|
1398 |
#[allow(clippy::needless_option_as_deref)]
|
1399 |
unsafe extern "C" fn trampoline_getrange_function<
|
771 |
#[allow(clippy::needless_option_as_deref)]
|
772 |
unsafe extern "C" fn base_src_create<T: BaseSrcImpl>(
|
238 |
#[allow(clippy::needless_option_as_deref)]
|
239 |
unsafe extern "C" fn push_src_create<T: PushSrcImpl>(
|
667 |
for block in blocks {
|
668 |
#[allow(clippy::needless_option_as_deref)]
|
669 |
txn.put_block(block, pin.as_deref_mut())?;
|
131 |
#[allow(clippy::needless_option_as_deref)]
|
132 |
#[allow(clippy::collapsible_if)]
|
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
|
404 |
#[allow(clippy::needless_option_as_deref)]
|
405 |
impl<
|
43 |
#[allow(clippy::needless_option_as_deref)]
|
44 |
impl<'a, T: CacheValidator> PageCache<'a, T> {
|
200 |
#[allow(clippy::needless_option_as_deref)]
|
201 |
impl<T: PhysicalMemory, V: VirtualTranslate2, D: VirtualTranslate3> MemoryView
|
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()) {
|
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()) {
|
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(
|
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(
|
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;
|
307 |
// moved-out error.
|
308 |
#[allow(clippy::needless_option_as_deref)]
|
309 |
if let Some(slow_mode) = slow_mode.as_deref_mut() {
|
412 |
}
|
413 |
#[allow(clippy::needless_option_as_deref)]
|
414 |
self.set_state(State::Follower, set_prev_state.as_deref_mut());
|
1398 |
#[allow(clippy::needless_option_as_deref)] // we use this for reborrowing Option<&mut T>
|
1399 |
#[inline(always)]
|
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),
|
2 |
// checker.
|
3 |
#![allow(clippy::needless_option_as_deref)]
|
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)]
|