"Generate getter" assist unnecessarily uses .as_ref()
when deref coercion would work
#12389
Labels
A-assists
C-feature
Category: feature request
S-actionable
Someone could pick this issue up and work on it right now
Generates:
It would probably be better if the body of
v
was just&self.v
instead of going through.as_ref()
.The text was updated successfully, but these errors were encountered: