Skip to content

Commit

Permalink
Derive Default for Sealed<T>
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Oct 4, 2024
1 parent 0cd3a72 commit 33837e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/primitives/src/sealed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::B256;
///
/// We do not implement any specific hashing algorithm here. Instead types
/// implement the [`Sealable`] trait to provide define their own hash.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
#[derive(Clone, Default, Copy, Debug, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Sealed<T> {
/// The inner item
Expand Down

0 comments on commit 33837e4

Please sign in to comment.