From 440ee680f9b16c8813507bae501a4b72a3610f05 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 29 Jun 2024 01:13:38 +0200 Subject: [PATCH] chore: make wrapped index value pub --- crates/rpc-types-eth/src/index.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rpc-types-eth/src/index.rs b/crates/rpc-types-eth/src/index.rs index 50aac8a519e..b1183c9dc15 100644 --- a/crates/rpc-types-eth/src/index.rs +++ b/crates/rpc-types-eth/src/index.rs @@ -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 for usize { fn from(idx: Index) -> Self {