about summary refs log tree commit diff
path: root/library/core/src
diff options
context:
space:
mode:
authormejrs <59372212+mejrs@users.noreply.github.com>2025-04-04 21:43:03 +0200
committermejrs <59372212+mejrs@users.noreply.github.com>2025-04-04 21:43:03 +0200
commitcfcc47ea540750dac30010edb42c4fa21efd577a (patch)
tree5e8520a52ea8c57399185341e375691961251654 /library/core/src
parent5337252b9952fdd9482ed6a4add17254e5bd2c40 (diff)
downloadrust-cfcc47ea540750dac30010edb42c4fa21efd577a.tar.gz
rust-cfcc47ea540750dac30010edb42c4fa21efd577a.zip
make `Arguments::as_statically_known_str` doc(hidden)
Diffstat (limited to 'library/core/src')
-rw-r--r--library/core/src/fmt/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/fmt/mod.rs b/library/core/src/fmt/mod.rs
index 30fd2d7815f..0c8e1495c62 100644
--- a/library/core/src/fmt/mod.rs
+++ b/library/core/src/fmt/mod.rs
@@ -743,6 +743,7 @@ impl<'a> Arguments<'a> {
     #[unstable(feature = "fmt_internals", reason = "internal to standard library", issue = "none")]
     #[must_use]
     #[inline]
+    #[doc(hidden)]
     pub fn as_statically_known_str(&self) -> Option<&'static str> {
         let s = self.as_str();
         if core::intrinsics::is_val_statically_known(s.is_some()) { s } else { None }