Skip to content

Remove unnecessary clones in match statements#5143

Open
FranciscoTGouveia wants to merge 1 commit into
rust-lang:mainfrom
FranciscoTGouveia:remove-clones
Open

Remove unnecessary clones in match statements#5143
FranciscoTGouveia wants to merge 1 commit into
rust-lang:mainfrom
FranciscoTGouveia:remove-clones

Conversation

@FranciscoTGouveia
Copy link
Copy Markdown

Since the variables tb and defaultbits will no longer be used after, they can be safely moved rather than cloned. Apologies if I overlooked something.

CC @nunoplopes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants