From 724e63e5099c872ff70be0ec8930ca037eb44a2c Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Fri, 12 May 2023 20:44:26 -0400 Subject: [PATCH] Fix broken links in README.md and docs --- README.md | 8 ++++---- src/inclusive_set.rs | 2 +- src/set.rs | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 188e354..df101ef 100644 --- a/README.md +++ b/README.md @@ -127,9 +127,9 @@ book for general information about operating without the standard library. -[`RangeMap`]: https://docs.rs/rangemap/latest/rangemap/struct.RangeMap.html -[`RangeInclusiveMap`]: https://docs.rs/rangemap/latest/rangemap/struct.RangeInclusiveMap.html -[`RangeSet`]: https://docs.rs/rangemap/latest/rangemap/struct.RangeSet.html -[`RangeInclusiveSet`]: https://docs.rs/rangemap/latest/rangemap/struct.RangeInclusiveSet.html +[`RangeMap`]: https://docs.rs/rangemap/latest/rangemap/map/struct.RangeMap.html +[`RangeInclusiveMap`]: https://docs.rs/rangemap/latest/rangemap/inclusive_map/struct.RangeInclusiveMap.html +[`RangeSet`]: https://docs.rs/rangemap/latest/rangemap/set/struct.RangeSet.html +[`RangeInclusiveSet`]: https://docs.rs/rangemap/latest/rangemap/inclusive_set/struct.RangeInclusiveSet.html [`Range`]: https://doc.rust-lang.org/stable/std/ops/struct.Range.html [`RangeInclusive`]: https://doc.rust-lang.org/stable/std/ops/struct.RangeInclusive.html diff --git a/src/inclusive_set.rs b/src/inclusive_set.rs index fcc73c4..a863f93 100644 --- a/src/inclusive_set.rs +++ b/src/inclusive_set.rs @@ -20,7 +20,7 @@ use crate::RangeInclusiveMap; /// /// See [`RangeInclusiveMap`]'s documentation for more details. /// -/// [`RangeInclusiveMap`]: struct.RangeInclusiveMap.html +/// [`RangeInclusiveMap`]: crate::RangeInclusiveMap pub struct RangeInclusiveSet { rm: RangeInclusiveMap, } diff --git a/src/set.rs b/src/set.rs index 5947b21..fc62298 100644 --- a/src/set.rs +++ b/src/set.rs @@ -20,7 +20,7 @@ use crate::RangeMap; /// /// See [`RangeMap`]'s documentation for more details. /// -/// [`RangeMap`]: struct.RangeMap.html +/// [`RangeMap`]: crate::RangeMap pub struct RangeSet { rm: RangeMap, }