Skip to content

refactor: Remove unnecessary clone()#549

Merged
newpavlov merged 1 commit intoRustCrypto:masterfrom
sorairolake:remove-unnecessary-clone
Mar 4, 2026
Merged

refactor: Remove unnecessary clone()#549
newpavlov merged 1 commit intoRustCrypto:masterfrom
sorairolake:remove-unnecessary-clone

Conversation

@sorairolake
Copy link
Contributor

Copying values ​​of types that implement the Copy trait does not need clone().

@newpavlov
Copy link
Member

clones were used intentionally to demonstrate that we copy the blocks. But I guess we should follow the lints here.

@newpavlov newpavlov merged commit f2bf4e0 into RustCrypto:master Mar 4, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants