Skip to content

Commit

Permalink
Should not need the clone
Browse files Browse the repository at this point in the history
Signed-off-by: Georgi Zlatarev <georgi.zlatarev@manta.network>
  • Loading branch information
ghzlatarev committed Aug 30, 2023
1 parent 12fb2b3 commit c45c4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manta-crypto/src/encryption/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub type Header<T> = <T as HeaderType>::Header;
)
)]
#[derive(derivative::Derivative)]
#[derivative(Clone, Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
#[derivative(Copy, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct EmptyHeader<COM = ()>(PhantomData<COM>);

impl<COM> Constant<COM> for EmptyHeader<COM> {
Expand Down

0 comments on commit c45c4db

Please sign in to comment.