• boring 2.1.0/src/error.rs
    223
        /// Returns additional data describing the error.
    224
        #[allow(clippy::option_as_ref_deref)]
    225
        pub fn data(&self) -> Option<&str> {
  • heim-disk 0.1.0-rc.1/src/sys/windows/partitions.rs
    20
    impl Partition {
    21
        #[allow(clippy::option_as_ref_deref)] // >= 1.40.0
    22
        pub fn device(&self) -> Option<&OsStr> {
  • heim-sensors 0.1.0-rc.1/src/temperatures.rs
    23
        /// Returns sensor label.
    24
        #[allow(clippy::option_as_ref_deref)] // >= 1.40.0
    25
        pub fn label(&self) -> Option<&str> {
  • nonogrid 0.7.3/src/block/base.rs
    392
            #[allow(dead_code)]
    393
            #[allow(clippy::option_as_ref_deref)]
    394
            pub fn get_default(&self) -> Option<&str> {
  • openssl 0.10.45/src/envelope.rs
    58
        /// Returns the initialization vector, if the cipher uses one.
    59
        #[allow(clippy::option_as_ref_deref)]
    60
        pub fn iv(&self) -> Option<&[u8]> {
  • openssl 0.10.45/src/error.rs
    270
        /// Returns additional data describing the error.
    271
        #[allow(clippy::option_as_ref_deref)]
    272
        pub fn data(&self) -> Option<&str> {
  • pharos 0.5.3/src/error.rs
    94
    		//
    95
    		#[ allow( clippy::option_as_ref_deref ) ]
    96
    		//
  • plotters 0.3.4/src/chart/series.rs
    19
    impl<'a, DB: DrawingBackend> SeriesAnno<'a, DB> {
    20
        #[allow(clippy::option_as_ref_deref)]
    21
        pub(crate) fn get_label(&self) -> &str {
  • plotters-unstable 0.2.1/src/chart/series.rs
    19
    impl<'a, DB: DrawingBackend> SeriesAnno<'a, DB> {
    20
        #[allow(clippy::option_as_ref_deref)]
    21
        pub(crate) fn get_label(&self) -> &str {
  • threescalers 0.8.0/build.rs
    238
                pub(crate) fn extra(&self) -> Option<&str> {
    239
                    #[allow(clippy::option_as_ref_deref)]
    240
                    self.extra.as_ref().map(|s| s.as_str())
  • tiberius 0.12.0/src/tds/xml.rs
    67
        /// Returns information about the schema of the XML file, if existing.
    68
        #[allow(clippy::option_as_ref_deref)]
    69
        pub fn schema(&self) -> Option<&XmlSchema> {
  • derivative 2.2.0/src/lib.rs
    6
    #![allow(clippy::mem_replace_with_default)] // needs rustc 1.40
    7
    #![allow(clippy::option_as_ref_deref)] // needs rustc 1.40
    8
    #![allow(clippy::cyclomatic_complexity)] // old name of cognitive_complexity
  • informalsystems-prost-build 0.8.1/src/lib.rs
    1
    #![doc(html_root_url = "https://docs.rs/prost-build/0.8.0")]
    2
    #![allow(clippy::option_as_ref_deref)]
  • ntex-prost-build 0.11.5/src/lib.rs
    1
    #![doc(html_root_url = "https://docs.rs/ntex-prost-build/0.11.0")]
    2
    #![allow(clippy::option_as_ref_deref)]
  • prost-build 0.11.6/src/lib.rs
    1
    #![doc(html_root_url = "https://docs.rs/prost-build/0.11.6")]
    2
    #![allow(clippy::option_as_ref_deref, clippy::format_push_string)]
  • prost-msg-build 0.1.6/src/lib.rs
    1
    #![doc(html_root_url = "https://docs.rs/prost-build/0.10.1")]
    2
    #![allow(clippy::option_as_ref_deref)]
  • rink-core 0.6.2/src/lib.rs
    35
    #![allow(clippy::from_str_radix_10)]
    36
    #![allow(clippy::option_as_ref_deref)]
    37
    #![allow(clippy::needless_lifetimes)]
  • tulip-derivative 2.2.1/src/lib.rs
    5
    #![allow(clippy::mem_replace_with_default)] // needs rustc 1.40
    6
    #![allow(clippy::option_as_ref_deref)] // needs rustc 1.40
    7
    #![allow(clippy::cyclomatic_complexity)] // old name of cognitive_complexity