Skip to content

Commit

Permalink
fix doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
dragazo committed Oct 21, 2023
1 parent 6ad99bb commit 4842fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/slotmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct Slot<T> {

/// A dense, resizable array that supports generational indexing.
///
/// You can use the [`new_key`] macro to create a new key type to use.
/// You can use the [`new_key`](crate::new_key) macro to create a new key type to use.
/// It is recommended to use different key types for different collections to avoid accidentally using a key from a different map.
#[derive(Clone, Collect)]
#[collect(no_drop)]
Expand Down

0 comments on commit 4842fe5

Please sign in to comment.