Skip to content

Commit

Permalink
docs: small fixes (#279)
Browse files Browse the repository at this point in the history
* fix: properly mark clickable link

* fix: properly mark hash zero comment
  • Loading branch information
mayconamaroCW authored Feb 26, 2024
1 parent 83d0e07 commit ecc9761
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/eth/primitives/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl Account {

/// Checks the current account is empty.
///
/// https://eips.ethereum.org/EIPS/eip-7523#:~:text=An%20empty%20account%20is%20an%20account
/// <https://eips.ethereum.org/EIPS/eip-7523#:~:text=An%20empty%20account%20is%20an%20account>
pub fn is_empty(&self) -> bool {
self.nonce.is_zero() && self.balance.is_zero() && self.bytecode.is_none()
}
Expand Down
2 changes: 1 addition & 1 deletion src/eth/primitives/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ impl Hash {
Self(H256::random())
}

// Returns the zero hash
/// Returns the zero hash
pub fn zero() -> Self {
Self(H256::zero())
}
Expand Down

0 comments on commit ecc9761

Please sign in to comment.