Wrong code example for the "ref
on an entire let
pattern is discouraged" lint
#1882
Labels
C-bug
Category: Clippy is not doing the correct thing
Clippy gives confusing help-message for the following code:
ref mut
can simply be removed,let
isn't needed here.The text was updated successfully, but these errors were encountered: