Repository: Marwes/combine (language: rust)

Issue:
Multiple documentation links broken
Many documentation links are broken.

For instance, [`parser::sequence::then`](https://docs.rs/combine/3.3.1/combine/parser/sequence/fn.then.html):

```rust
/// Equivalent to [`p.then(f)`].
///
/// [`p.then(f)`]: ../error/trait.Parser.html#method.then
```

.... this can make figuring out what the function is supposed to do difficult...



Discussion / hints:

Fix patch:
diff --git a/Cargo.toml b/Cargo.toml
index 13be3e87..041ac134 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
 [package]
 
 name = "combine"
-version = "3.3.2-alpha.0"
+version = "3.3.3-alpha.0"
 authors = ["Markus Westerlind <marwes91@gmail.com>"]
 
 description = "Fast parser combinators on arbitrary streams with zero-copy support."
diff --git a/src/parser/byte.rs b/src/parser/byte.rs
index 6a3896de..bbda743f 100644
--- a/src/parser/byte.rs
+++ b/src/parser/byte.rs
@@ -326,7 +326,7 @@ where
 /// # }
 /// ```
 ///
-/// [`RangeStream`]: ../error/trait.RangeStream.html
+/// [`RangeStream`]: ../stream/trait.RangeStream.html
 /// [`range`]: ../range/fn.range.html
 #[inline(always)]
 pub fn bytes<'a, I>(s: &'static [u8]) -> Bytes<I>
@@ -382,7 +382,7 @@ where
 /// # }
 /// ```
 ///
-/// [`RangeStream`]: ../error/trait.RangeStream.html
+/// [`RangeStream`]: ../stream/trait.RangeStream.html
 /// [`range`]: ../range/fn.range.html
 #[inline(always)]
 pub fn bytes_cmp<'a, C, I>(s: &'static [u8], cmp: C) -> BytesCmp<C, I>
diff --git a/src/parser/choice.rs b/src/parser/choice.rs
index f0725045..0b9cab03 100644
--- a/src/parser/choice.rs
+++ b/src/parser/choice.rs
@@ -585,7 +585,7 @@ where
 /// If you are looking to chain 3 or more parsers using `or` you may consider using the
 /// [`choice!`] macro instead, which can be clearer and may result in a faster parser.
 ///
-/// [`p1.or(p2)`]: ../error/trait.Parser.html#method.or
+/// [`p1.or(p2)`]: ../parser/trait.Parser.html#method.or
 #[inline(always)]
 pub fn or<P1, P2>(p1: P1, p2: P2) -> Or<P1, P2>
 where
diff --git a/src/parser/combinator.rs b/src/parser/combinator.rs
index a859487d..f9516640 100644
--- a/src/parser/combinator.rs
+++ b/src/parser/combinator.rs
@@ -212,7 +212,7 @@ where
 
 /// Equivalent to [`p.map(f)`].
 ///
-/// [`p.map(f)`]: ../error/trait.Parser.html#method.map
+/// [`p.map(f)`]: ../parser/trait.Parser.html#method.map
 #[inline(always)]
 pub fn map<P, F, B>(p: P, f: F) -> Map<P, F>
 where
@@ -266,7 +266,7 @@ where
 
 /// Equivalent to [`p.flat_map(f)`].
 ///
-/// [`p.flat_map(f)`]: ../error/trait.Parser.html#method.flat_map
+/// [`p.flat_map(f)`]: ../parser/trait.Parser.html#method.flat_map
 #[inline(always)]
 pub fn flat_map<P, F, B>(p: P, f: F) -> FlatMap<P, F>
 where
@@ -326,7 +326,7 @@ where
 
 /// Equivalent to [`p.and_then(f)`].
 ///
-/// [`p.and_then(f)`]: ../error/trait.Parser.html#method.and_then
+/// [`p.and_then(f)`]: ../parser/trait.Parser.html#method.and_then
 #[inline(always)]
 pub fn and_then<P, F, O, E, I>(p: P, f: F) -> AndThen<P, F>
 where
diff --git a/src/parser/error.rs b/src/parser/error.rs
index 378bb633..a96799bc 100644
--- a/src/parser/error.rs
+++ b/src/parser/error.rs
@@ -141,7 +141,7 @@ where
 
 /// Equivalent to [`p1.message(msg)`].
 ///
-/// [`p1.message(msg)`]: ../error/trait.Parser.html#method.message
+/// [`p1.message(msg)`]: ../parser/trait.Parser.html#method.message
 #[inline(always)]
 pub fn message<P>(
     p: P,
@@ -191,7 +191,7 @@ where
 
 /// Equivalent to [`p.expected(info)`].
 ///
-/// [`p.expected(info)`]: ../error/trait.Parser.html#method.expected
+/// [`p.expected(info)`]: ../parser/trait.Parser.html#method.expected
 #[inline(always)]
 pub fn expected<P>(
     p: P,
diff --git a/src/parser/sequence.rs b/src/parser/sequence.rs
index 37db3f7c..22b943db 100644
--- a/src/parser/sequence.rs
+++ b/src/parser/sequence.rs
@@ -397,7 +397,7 @@ where
 
 /// Equivalent to [`p1.with(p2)`].
 ///
-/// [`p1.with(p2)`]: ../error/trait.Parser.html#method.with
+/// [`p1.with(p2)`]: ../parser/trait.Parser.html#method.with
 #[inline(always)]
 pub fn with<P1, P2>(p1: P1, p2: P2) -> With<P1, P2>
 where
@@ -556,7 +556,7 @@ where
 
 /// Equivalent to [`p.then(f)`].
 ///
-/// [`p.then(f)`]: ../error/trait.Parser.html#method.then
+/// [`p.then(f)`]: ../parser/trait.Parser.html#method.then
 #[inline(always)]
 pub fn then<P, F, N>(p: P, f: F) -> Then<P, F>
 where
@@ -644,7 +644,7 @@ where
 
 /// Equivalent to [`p.then_partial(f)`].
 ///
-/// [`p.then_partial(f)`]: ../error/trait.Parser.html#method.then_partial
+/// [`p.then_partial(f)`]: ../parser/trait.Parser.html#method.then_partial
 #[inline(always)]
 pub fn then_partial<P, F, N>(p: P, f: F) -> ThenPartial<P, F>
 where


Test patch: