Skip to content

Commit 3d96601

Browse files
committed
Fix rustdoc::private-intra-doc-links errors in the docs
1 parent 5fd6081 commit 3d96601

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/ops/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ pub use self::unsize::DispatchFromDyn;
211211
#[unstable(feature = "control_flow_enum", reason = "new API", issue = "75744")]
212212
pub use self::control_flow::ControlFlow;
213213

214-
/// [`TryV1`] and [`TryV2`] have different associated type names,
214+
/// `TryV1` and `TryV2` have different associated type names,
215215
/// so rather than need `bootstrap` checks all over the library,
216216
/// centralize the difference to this one trait alias.
217217
///

library/core/src/ops/try_trait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pub trait Try: FromResidual {
222222
fn branch(self) -> ControlFlow<Self::Residual, Self::Output>;
223223
}
224224

225-
/// Used to specify which residuals can be converted into which [`Try`] types.
225+
/// Used to specify which residuals can be converted into which [`crate::ops::Try`] types.
226226
///
227227
/// Every `Try` type needs to be recreatable from its own associated
228228
/// `Residual` type, but can also have additional `FromResidual` implementations

0 commit comments

Comments
 (0)