Skip to content

Commit

Permalink
Fix rustdoc::private-intra-doc-links errors in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmcm committed May 6, 2021
1 parent 5fd6081 commit 3d96601
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/core/src/ops/mod.rs
Expand Up @@ -211,7 +211,7 @@ pub use self::unsize::DispatchFromDyn;
#[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.
///
Expand Down
2 changes: 1 addition & 1 deletion library/core/src/ops/try_trait.rs
Expand Up @@ -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
Expand Down

0 comments on commit 3d96601

Please sign in to comment.