Fix rustdoc::private-intra-doc-links errors in the docs

This commit is contained in:
Scott McMurray 2021-04-30 19:42:25 -07:00
parent 5fd6081de6
commit 3d9660111c
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@
#[unstable(feature = "control_flow_enum", reason = "new API", issue = "75744")]
pub use self::control_flow::ControlFlow;
/// [`TryV1`] and [`TryV2`] have different associated type names,
/// `TryV1` and `TryV2` have different associated type names,
/// so rather than need `bootstrap` checks all over the library,
/// centralize the difference to this one trait alias.
///

View File

@ -222,7 +222,7 @@ pub trait Try: FromResidual {
fn branch(self) -> ControlFlow<Self::Residual, Self::Output>;
}
/// Used to specify which residuals can be converted into which [`Try`] types.
/// Used to specify which residuals can be converted into which [`crate::ops::Try`] types.
///
/// Every `Try` type needs to be recreatable from its own associated
/// `Residual` type, but can also have additional `FromResidual` implementations