Structs§
Statics§
- The
noop_method_call
lint detects specific calls to noop methods such as a calling<&T as Clone>::clone
whereT: !Clone
. - The
suspicious_double_ref_op
lint checks for usage of.clone()
/.borrow()
/.deref()
on an&&T
whenT: !Deref/Borrow/Clone
, which means the call will return the inner&T
, instead of performing the operation on the underlyingT
and can be confusing.