Skip to content

redundant_clone in Rc context ? #4982

Closed
@o0Ignition0o

Description

@o0Ignition0o

We had a small discussion on it here: mozilla/neqo#374 (comment).
I wonder if we could tell a user to use Rc::clone(&foo) if the linter warns about a redundant clone in Rc context ?

If so I would love to work on it, but that would be my first PR to clippy, so it would probably require someone to mentor me.

Thanks for your time :)

Metadata

Metadata

Assignees

Labels

C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesL-suggestionLint: Improving, adding or fixing lint suggestions

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions