From e7d78ca422b6031e071c7ee3f7c9930cab4911e6 Mon Sep 17 00:00:00 2001 From: rakita Date: Fri, 6 Sep 2024 11:55:14 +0200 Subject: [PATCH] fix docs --- crates/revm/src/builder.rs | 2 +- crates/revm/src/evm.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/revm/src/builder.rs b/crates/revm/src/builder.rs index f1c4b6a31d..49ae0e31ab 100644 --- a/crates/revm/src/builder.rs +++ b/crates/revm/src/builder.rs @@ -148,7 +148,7 @@ where self } - /// Sets the [`Database`] that will be used by [`Evm`]. + /// Sets the [`crate::Database`] that will be used by [`Evm`]. pub fn with_db( mut self, db: EvmWiringT::Database, diff --git a/crates/revm/src/evm.rs b/crates/revm/src/evm.rs index 926ae2ab63..f674018f73 100644 --- a/crates/revm/src/evm.rs +++ b/crates/revm/src/evm.rs @@ -322,7 +322,7 @@ impl Evm<'_, EvmWiringT> { self.context } - /// Returns database and [`EnvWithEvmWiring`]. + /// Returns database, [`EnvWiring`] and Hardfork. #[inline] pub fn into_db_and_env_with_handler_cfg( self,