Skip to content

Commit cd84414

Browse files
committed
fix: remove generic
1 parent 7f91cab commit cd84414

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "trevm"
3-
version = "0.27.6"
3+
version = "0.27.7"
44
rust-version = "1.83.0"
55
edition = "2021"
66
authors = ["init4"]

src/evm.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,12 @@ where
184184
/// Run a fallible function with the provided inspector, then restore the
185185
/// previous inspector. If the function returns an error, it will be
186186
/// wrapped in an [`EvmErrored`] along with the current EVM state.
187-
pub fn try_with_inspector<C, F, Insp2, NewState, E>(
187+
pub fn try_with_inspector<F, Insp2, NewState, E>(
188188
self,
189189
inspector: Insp2,
190190
f: F,
191191
) -> Result<Trevm<Db, Insp, NewState>, EvmErrored<Db, Insp, E>>
192192
where
193-
C: Cfg,
194193
Insp2: Inspector<Ctx<Db>>,
195194
F: FnOnce(
196195
Trevm<Db, Insp2, TrevmState>,

0 commit comments

Comments
 (0)