81 |
#[inline]
|
82 |
#[allow(clippy::borrow_deref_ref)]
|
83 |
pub fn as_c_str(&self) -> &CStr {
|
174 |
// Python Bindings
|
175 |
#[allow(clippy::borrow_deref_ref)]
|
176 |
#[cfg(feature = "python-bindings")]
|
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> {
|
2 |
//! to be able to implement `pyo3` traits for `dbz_lib` types.
|
3 |
#![allow(clippy::borrow_deref_ref)]
|
4 |
use std::ffi::c_char;
|
1 |
#![allow(clippy::borrow_deref_ref)]
|
2 |
use crate::error::Error;
|
73 |
#![allow(clippy::borrow_as_ptr)]
|
74 |
#![allow(clippy::borrow_deref_ref)]
|
13 |
#![allow(clippy::borrow_as_ptr)]
|
14 |
#![allow(clippy::borrow_deref_ref)]
|
15 |
// Allow only ATM, it will be evetually removed
|
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
|
1 |
#![warn(missing_docs)]
|
2 |
#![allow(clippy::borrow_deref_ref)]
|
2 |
#![allow(
|
3 |
clippy::borrow_deref_ref,
|
4 |
clippy::cast_possible_truncation,
|
2 |
#![allow(
|
3 |
clippy::borrow_deref_ref,
|
4 |
clippy::cast_possible_truncation,
|
11 |
// limitations under the License.
|
12 |
#![allow(clippy::borrow_deref_ref)]
|
13 |
#![deny(missing_docs)]
|
11 |
// limitations under the License.
|
12 |
#![allow(clippy::borrow_deref_ref)]
|
13 |
#![deny(missing_docs)]
|
92 |
clippy::collapsible_str_replace,
|
93 |
clippy::borrow_deref_ref,
|
94 |
clippy::unnecessary_lazy_evaluations,
|
8 |
// Will probably be fixed by Rust 1.65
|
9 |
#![allow(clippy::borrow_deref_ref)]
|