Skip to content

Commit

Permalink
Remove clone
Browse files Browse the repository at this point in the history
  • Loading branch information
ktdlr committed Oct 22, 2024
1 parent ba32ea1 commit 492604e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ciphernode/data/src/into_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub trait IntoKey {
/// Keys can be vectors of String
impl IntoKey for Vec<u8> {
fn into_key(self) -> Vec<u8> {
self.clone()
self
}
}

Expand Down

0 comments on commit 492604e

Please sign in to comment.