Remove doc link to private item.

This commit is contained in:
Mara Bos 2023-04-20 18:47:47 +02:00
parent 441682cca9
commit 687b3fa439

View File

@ -428,10 +428,8 @@ pub const fn new_v1(pieces: &'a [&'static str], args: &'a [ArgumentV1<'a>]) -> 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")]