Skip to content

(RS-W1206) Found explicit closure for cloning elements #5

Description

@JarekToro

Description

.map(|x| x.clone()) is equivalent to calling .cloned(), which is more readable.

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/JarekToro/tunnyd/issue/RS-W1206/occurrences/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions