Skip to content

Commit

Permalink
fix redundant clone
Browse files Browse the repository at this point in the history
  • Loading branch information
neysofu committed Aug 23, 2023
1 parent adecd8b commit b957b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module-system/sov-state/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ where
StateMap::with_codec(prefix.extended(b"e"), InternalCodec::new(BorshCodec, codec));
Self {
_phantom: PhantomData,
prefix: prefix.clone(),
prefix,
len_value,
elems,
}
Expand Down

0 comments on commit b957b77

Please sign in to comment.