about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2023-04-20 18:47:47 +0200
committerMara Bos <m-ou.se@m-ou.se>2023-04-20 18:47:47 +0200
commit687b3fa4396ed45eee967e223750e9aa3b4b5ee9 (patch)
treeb221a3a6dda0685f6a130ddba1d49cfcd1d9ab04
parent441682cca9a32314835a88fa981a3bf13ffb0aa8 (diff)
downloadrust-687b3fa4396ed45eee967e223750e9aa3b4b5ee9.tar.gz
rust-687b3fa4396ed45eee967e223750e9aa3b4b5ee9.zip
Remove doc link to private item.
-rw-r--r--library/core/src/fmt/mod.rs6
1 files 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")]