• seccompiler 0.3.0/src/frontend/json.rs
    452
        #[allow(clippy::useless_asref)]
    453
        #[test]
  • seed 0.9.2/src/virtual_dom/attrs.rs
    62
                        } else {
    63
                            #[allow(clippy::useless_asref)]
    64
                            Some(item.as_ref())
  • sys_util 0.1.0/src/sock_ctrl_msg.rs
    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 {