Lint direct calls to deref
or deref_mut
#1566
Labels
A-lint
Area: New lints
good-first-issue
These issues are a good way to get started with Clippy
L-style
Lint: Belongs in the style lint group
T-middle
Type: Probably requires verifiying types
Instead of calling
x.deref()
orx.deref_mut()
,&*x
and&mut *x
should be recommended instead.The text was updated successfully, but these errors were encountered: