### 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 ```rust MyRecord { ..value} ``` Could be written as: ```rust value ``` <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"samueltardieu"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->