452 |
#[allow(clippy::useless_asref)]
|
453 |
#[test]
|
62 |
} else {
|
63 |
#[allow(clippy::useless_asref)]
|
64 |
Some(item.as_ref())
|
314 |
// Clippy false positive: https://github.com/rust-lang/rust-clippy/issues/3480
|
315 |
#[cfg_attr(feature = "cargo-clippy", allow(useless_asref))]
|
316 |
fn as_ptr(&self) -> *const c_void {
|