Skip to content

Commit 88685c5

Browse files
committed
Fix broken links to RadixSet/RadixMap in docs.rs
Fixes #1
1 parent 053b2cc commit 88685c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/key.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ impl<T: KeyComponent> Key for [T] {
3939
///
4040
/// These keys should be equivalent to slices of `T: Ord + Eq + Clone`.
4141
///
42-
/// [`RadixSet`]: struct.RadixSet.html
43-
/// [`RadixMap`]: struct.RadixMap.html
42+
/// [`RadixSet`]: set/struct.RadixSet.html
43+
/// [`RadixMap`]: map/struct.RadixMap.html
4444
pub trait ExtensibleKey: ToOwned {
4545
/// A single component of the key. Note that it should be `Ord + Eq + Clone`.
4646
type Component: KeyComponent;

src/set.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use key::Key;
1010

1111
/// A set based on a [Radix tree](https://en.wikipedia.org/wiki/Radix_tree).
1212
///
13-
/// See [`RadixMap`](struct.RadixMap.html) for an in-depth explanation of the workings of this
13+
/// See [`RadixMap`](../map/struct.RadixMap.html) for an in-depth explanation of the workings of this
1414
/// struct, as it's simply a wrapper around `RadixMap<K, ()>`.
1515
pub struct RadixSet<K: Key + ?Sized> {
1616
map: RadixMap<K, ()>,

0 commit comments

Comments
 (0)