Skip to content

Commit

Permalink
fix broken intra doc link warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nickelc authored and Geal committed Aug 13, 2021
1 parent ebab6ca commit 9057c7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pub trait ParseError<I>: Sized {
}

/// Combines two existing errors. This function is used to compare errors
/// generated in various branches of [alt]
/// generated in various branches of `alt`.
fn or(self, other: Self) -> Self {
other
}
Expand All @@ -45,7 +45,7 @@ pub trait ContextError<I>: Sized {
}
}

/// This trait is required by the [map_res] combinator to integrate
/// This trait is required by the `map_res` combinator to integrate
/// error types from external functions, like [std::str::FromStr]
pub trait FromExternalError<I, E> {
/// Creates a new error from an input position, an [ErrorKind] indicating the
Expand Down

0 comments on commit 9057c7e

Please sign in to comment.