• nc 0.8.13/src/c_str.rs
    81
        #[inline]
    82
        #[allow(clippy::borrow_deref_ref)]
    83
        pub fn as_c_str(&self) -> &CStr {
  • scalpel 0.2.0/src/packet.rs
    174
    // Python Bindings
    175
    #[allow(clippy::borrow_deref_ref)]
    176
    #[cfg(feature = "python-bindings")]
  • zephyrus 0.6.0/src/builder.rs
    36
        /// **SAFETY: The caller must ensure the type given is the same as the boxed one.**
    37
        #[allow(clippy::needless_lifetimes, clippy::borrow_deref_ref)]
    38
        pub fn cast<'a, T>(&'a self) -> Option<&'a T> {
  • dbz-lib 0.2.1/src/python.rs
    2
    //! to be able to implement `pyo3` traits for `dbz_lib` types.
    3
    #![allow(clippy::borrow_deref_ref)]
    4
    use std::ffi::c_char;
  • elektron_spice 0.1.23/src/circuit.rs
    1
    #![allow(clippy::borrow_deref_ref)]
    2
    use crate::error::Error;
  • libafl 0.9.0/src/lib.rs
    73
    #![allow(clippy::borrow_as_ptr)]
    74
    #![allow(clippy::borrow_deref_ref)]
  • libafl_qemu 0.9.0/src/lib.rs
    13
    #![allow(clippy::borrow_as_ptr)]
    14
    #![allow(clippy::borrow_deref_ref)]
    15
    // Allow only ATM, it will be evetually removed
  • pyo3-anyio 0.3.0/src/lib.rs
    34
    #![deny(clippy::pedantic)]
    35
    #![allow(clippy::borrow_deref_ref)] // Leads to a ton of false positives around args of py types.
    36
    #![allow(clippy::missing_panics_doc)] // TODO: finalise and document the panics
  • pyo3-asyncio 0.17.0/src/lib.rs
    1
    #![warn(missing_docs)]
    2
    #![allow(clippy::borrow_deref_ref)]
  • pyxel-extension 1.9.11/src/lib.rs
    2
    #![allow(
    3
        clippy::borrow_deref_ref,
    4
        clippy::cast_possible_truncation,
  • pyxel-wrapper 1.8.2/src/lib.rs
    2
    #![allow(
    3
        clippy::borrow_deref_ref,
    4
        clippy::cast_possible_truncation,
  • qoqo-aqt 0.5.1/src/lib.rs
    11
    // limitations under the License.
    12
    #![allow(clippy::borrow_deref_ref)]
    13
    #![deny(missing_docs)]
  • roqoqo-aqt 0.5.1/src/lib.rs
    11
    // limitations under the License.
    12
    #![allow(clippy::borrow_deref_ref)]
    13
    #![deny(missing_docs)]
  • teloxide-core 0.9.0/src/lib.rs
    92
        clippy::collapsible_str_replace,
    93
        clippy::borrow_deref_ref,
    94
        clippy::unnecessary_lazy_evaluations,
  • umbral-pre 0.8.1/src/bindings_python.rs
    8
    // Will probably be fixed by Rust 1.65
    9
    #![allow(clippy::borrow_deref_ref)]