Skip to content

Commit d513b4d

Browse files
committed
chore: more docs
1 parent f40768c commit d513b4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/db/alloy.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use std::fmt::Display;
2020
/// the actual type to be an [`U256`] instead of a [`B256`].
2121
pub type StorageKey = U256;
2222

23-
/// An error that can occur when using [AlloyDB].
23+
/// An error that can occur when using [`AlloyDb`].
2424
#[derive(Debug)]
2525
pub struct DBTransportError(pub TransportError);
2626

@@ -40,7 +40,7 @@ impl From<TransportError> for DBTransportError {
4040
}
4141
}
4242

43-
/// An alloy-powered REVM [Database][revm::database_interface::Database].
43+
/// An alloy-powered REVM [`Database`][revm::database_interface::Database].
4444
///
4545
/// When accessing the database, it'll use the given provider to fetch the corresponding account's data.
4646
#[derive(Debug)]
@@ -53,7 +53,7 @@ pub struct AlloyDb<N: Network, P: Provider<N>> {
5353
}
5454

5555
impl<N: Network, P: Provider<N>> AlloyDb<N, P> {
56-
/// Creates a new AlloyDB instance, with a [Provider] and a block.
56+
/// Creates a new AlloyDB instance, with a [`Provider`] and a block.
5757
pub fn new(provider: P, block_number: BlockId) -> Self {
5858
Self { provider, block_number, _marker: core::marker::PhantomData }
5959
}

0 commit comments

Comments
 (0)