-
-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Description
Description
Consider using .clone_from()
instead of assigning the result of .clone()
. clone_from()
may perform better in some cases because some structs may have custom implementations of clone_from()
, which improve performance by avoiding needless allocations.
Occurrences
There is 1 occurrence of this issue in the repository.
See all occurrences on DeepSource → app.deepsource.com/gh/parseablehq/parseable/issue/RS-W1070/occurrences/
Metadata
Metadata
Assignees
Labels
No labels