Skip to content

Commit

Permalink
fix docs inner links
Browse files Browse the repository at this point in the history
  • Loading branch information
uint committed Sep 11, 2024
1 parent c6d547b commit 4714b91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/storey/src/containers/map/key.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// A key that can be used with a [`Map`](crate::Map).
/// A key that can be used with a [`Map`](super::Map).
pub trait Key {
/// The kind of key, meaning either fixed size or dynamic size.
type Kind: KeyKind;
Expand All @@ -7,7 +7,7 @@ pub trait Key {
fn encode(&self) -> Vec<u8>;
}

/// An owned key that can be used with a [`Map`](crate::Map).
/// An owned key that can be used with a [`Map`](super::Map).
pub trait OwnedKey: Key {
/// The error type that can occur when decoding the key.
type Error;
Expand Down

0 comments on commit 4714b91

Please sign in to comment.