Closed
Description
What it does
If your update changes no fields, e.g. MyRecord {..value}
then the update is providing very little value, and value
directly would be better.
Lint Name
redundant_update
Category
style
Advantage
- Simpler.
Drawbacks
No response
Example
MyRecord { ..value}
Could be written as:
value