From 687b3fa4396ed45eee967e223750e9aa3b4b5ee9 Mon Sep 17 00:00:00 2001 From: Mara Bos Date: Thu, 20 Apr 2023 18:47:47 +0200 Subject: [PATCH] Remove doc link to private item. --- library/core/src/fmt/mod.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/library/core/src/fmt/mod.rs b/library/core/src/fmt/mod.rs index de958a82d96..a901ae72669 100644 --- a/library/core/src/fmt/mod.rs +++ b/library/core/src/fmt/mod.rs @@ -428,10 +428,8 @@ impl<'a> Arguments<'a> { /// An `UnsafeArg` is required because the following invariants must be held /// in order for this function to be safe: /// 1. The `pieces` slice must be at least as long as `fmt`. - /// 2. Every [`rt::Placeholder::position`] value within `fmt` must be a - /// valid index of `args`. - /// 3. Every [`rt::Count::Param`] within `fmt` must contain a valid index of - /// `args`. + /// 2. Every `rt::Placeholder::position` value within `fmt` must be a valid index of `args`. + /// 3. Every `rt::Count::Param` within `fmt` must contain a valid index of `args`. #[doc(hidden)] #[inline] #[unstable(feature = "fmt_internals", reason = "internal to format_args!", issue = "none")]