223 |
/// Returns additional data describing the error.
|
224 |
#[allow(clippy::option_as_ref_deref)]
|
225 |
pub fn data(&self) -> Option<&str> {
|
20 |
impl Partition {
|
21 |
#[allow(clippy::option_as_ref_deref)] // >= 1.40.0
|
22 |
pub fn device(&self) -> Option<&OsStr> {
|
23 |
/// Returns sensor label.
|
24 |
#[allow(clippy::option_as_ref_deref)] // >= 1.40.0
|
25 |
pub fn label(&self) -> Option<&str> {
|
392 |
#[allow(dead_code)]
|
393 |
#[allow(clippy::option_as_ref_deref)]
|
394 |
pub fn get_default(&self) -> Option<&str> {
|
58 |
/// Returns the initialization vector, if the cipher uses one.
|
59 |
#[allow(clippy::option_as_ref_deref)]
|
60 |
pub fn iv(&self) -> Option<&[u8]> {
|
270 |
/// Returns additional data describing the error.
|
271 |
#[allow(clippy::option_as_ref_deref)]
|
272 |
pub fn data(&self) -> Option<&str> {
|
94 |
//
|
95 |
#[ allow( clippy::option_as_ref_deref ) ]
|
96 |
//
|
19 |
impl<'a, DB: DrawingBackend> SeriesAnno<'a, DB> {
|
20 |
#[allow(clippy::option_as_ref_deref)]
|
21 |
pub(crate) fn get_label(&self) -> &str {
|
19 |
impl<'a, DB: DrawingBackend> SeriesAnno<'a, DB> {
|
20 |
#[allow(clippy::option_as_ref_deref)]
|
21 |
pub(crate) fn get_label(&self) -> &str {
|
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())
|
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> {
|
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
|
1 |
#![doc(html_root_url = "https://docs.rs/prost-build/0.8.0")]
|
2 |
#![allow(clippy::option_as_ref_deref)]
|
1 |
#![doc(html_root_url = "https://docs.rs/ntex-prost-build/0.11.0")]
|
2 |
#![allow(clippy::option_as_ref_deref)]
|
1 |
#![doc(html_root_url = "https://docs.rs/prost-build/0.11.6")]
|
2 |
#![allow(clippy::option_as_ref_deref, clippy::format_push_string)]
|
1 |
#![doc(html_root_url = "https://docs.rs/prost-build/0.10.1")]
|
2 |
#![allow(clippy::option_as_ref_deref)]
|
35 |
#![allow(clippy::from_str_radix_10)]
|
36 |
#![allow(clippy::option_as_ref_deref)]
|
37 |
#![allow(clippy::needless_lifetimes)]
|
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
|