File tree Expand file tree Collapse file tree
crates/stackable-operator/src/kvp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,7 +99,6 @@ missing_errors_doc = "allow"
9999must_use_candidate = " allow"
100100return_self_not_must_use = " allow"
101101missing_panics_doc = " allow"
102- explicit_deref_methods = " allow"
103102cast_possible_truncation = " allow"
104103float_cmp = " allow"
105104cast_sign_loss = " allow"
Original file line number Diff line number Diff line change @@ -248,6 +248,8 @@ impl<T> PartialEq<T> for KeyPrefix
248248where
249249 T : AsRef < str > ,
250250{
251+ // Not sure how to write that differently without getting a warning about recursion
252+ #[ expect( clippy:: explicit_deref_methods) ]
251253 fn eq ( & self , other : & T ) -> bool {
252254 self . deref ( ) == other. as_ref ( )
253255 }
@@ -332,6 +334,8 @@ impl<T> PartialEq<T> for KeyName
332334where
333335 T : AsRef < str > ,
334336{
337+ // Not sure how to write that differently without getting a warning about recursion
338+ #[ expect( clippy:: explicit_deref_methods) ]
335339 fn eq ( & self , other : & T ) -> bool {
336340 self . deref ( ) == other. as_ref ( )
337341 }
You can’t perform that action at this time.
0 commit comments