87 |
#[test]
|
88 |
#[allow(clippy::explicit_deref_methods)]
|
89 |
fn test_deref() {
|
92 |
#[test]
|
93 |
#[allow(clippy::explicit_deref_methods)]
|
94 |
fn test_as_ref_and_deref() {
|
62 |
#[test]
|
63 |
#[allow(clippy::explicit_deref_methods)]
|
64 |
fn test_deref() {
|
272 |
#[test]
|
273 |
#[allow(clippy::explicit_deref_methods)]
|
274 |
fn test_deref() {
|
226 |
if let RustType::Object(hash_map) = {
|
227 |
#[allow(clippy::explicit_deref_methods)] // Explicit deref call is needed to ensure that &RustType is retrieved from JsonMap
|
228 |
&self.deref()
|
24 |
match PyTryInto::<PyDict>::try_into({
|
25 |
#[allow(clippy::explicit_deref_methods)] // Explicit deref call is needed to ensure that &PyAny is retrieved from JsonMap
|
26 |
self.deref()
|
35 |
match PyTryInto::<PyDict>::try_into({
|
36 |
#[allow(clippy::explicit_deref_methods)] // Explicit deref call is needed to ensure that &PyAny is retrieved from JsonMap
|
37 |
self.deref()
|
46 |
match PyTryInto::<PyDict>::try_into({
|
47 |
#[allow(clippy::explicit_deref_methods)] // Explicit deref call is needed to ensure that &PyAny is retrieved from JsonMap
|
48 |
self.deref()
|
63 |
type Target = Path;
|
64 |
#[allow(clippy::explicit_deref_methods)]
|
65 |
fn deref(&self) -> &Self::Target {
|
837 |
// clippy: using `.deref()` is cleaner
|
838 |
#[allow(clippy::cognitive_complexity, clippy::explicit_deref_methods)]
|
839 |
fn update(&self, c: &InMemoryCache) {
|
49 |
/// Returns a reference to the data stored in the `Box` element.
|
50 |
#[allow(clippy::explicit_deref_methods)]
|
51 |
fn unbox_ref(&self) -> &T {
|
55 |
/// Returns a mutable reference to the data stored in the `Box` element.
|
56 |
#[allow(clippy::explicit_deref_methods)]
|
57 |
fn unbox_mut(&mut self) -> &mut T {
|
26 |
#![deny(clippy::pedantic)]
|
27 |
#![allow(clippy::explicit_deref_methods)]
|
28 |
#![allow(clippy::module_name_repetitions)]
|
40 |
clippy::cast_precision_loss, // There is no way to avoid this precision loss
|
41 |
clippy::explicit_deref_methods, // Sometimes calling `deref` directly is clearer
|
42 |
clippy::module_name_repetitions, // Sometimes clear naming calls for repetition
|
5 |
#![allow(
|
6 |
clippy::explicit_deref_methods,
|
7 |
clippy::manual_assert,
|