Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
emhane committed Nov 19, 2024
1 parent 16b2caa commit f1689e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/primitives-traits/src/block/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ pub trait BlockBody:
type Header: BlockHeader + 'static;

/// Ordered list of signed transactions as committed in block.
// todo: requires trait for signed transaction
type Transaction: Transaction;

/// Returns reference to transactions in block.
Expand Down
4 changes: 2 additions & 2 deletions crates/primitives-traits/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ impl<T> MaybeSerde for T where T: serde::Serialize + for<'de> serde::Deserialize
#[cfg(not(feature = "serde"))]
impl<T> MaybeSerde for T {}

/// Helper trait that requires databse encoding implementation since `reth-codecs` feature is
/// Helper trait that requires databse encoding implementation since `reth-codec` feature is

Check failure on line 110 in crates/primitives-traits/src/lib.rs

View workflow job for this annotation

GitHub Actions / codespell

databse ==> database
/// enabled.
#[cfg(feature = "reth-codec")]
pub trait MaybeCompact: reth_codecs::Compact {}
/// Noop. Helper trait that would require database encoding implementation if `reth-codecs` feature
/// Noop. Helper trait that would require database encoding implementation if `reth-codec` feature
/// were enabled.
#[cfg(not(feature = "reth-codec"))]
pub trait MaybeCompact {}
Expand Down

0 comments on commit f1689e5

Please sign in to comment.