Skip to content

(RS-W1070) Found use of .clone() in assignment #519

@nitisht

Description

@nitisht

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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions