Skip to content

Commit

Permalink
chore: make wrapped index value pub
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Jun 28, 2024
1 parent 91e5628 commit 440ee68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc-types-eth/src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::fmt;
/// A hex encoded or decimal index that's intended to be used as a rust index, hence it's
/// deserialized into a `usize`.
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
pub struct Index(usize);
pub struct Index(pub usize);

impl From<Index> for usize {
fn from(idx: Index) -> Self {
Expand Down

0 comments on commit 440ee68

Please sign in to comment.