Skip to content
/ rust Public
forked from rust-lang/rust

Commit cfcc47e

Browse files
committed
make Arguments::as_statically_known_str doc(hidden)
1 parent 5337252 commit cfcc47e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/src/fmt/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,7 @@ impl<'a> Arguments<'a> {
743743
#[unstable(feature = "fmt_internals", reason = "internal to standard library", issue = "none")]
744744
#[must_use]
745745
#[inline]
746+
#[doc(hidden)]
746747
pub fn as_statically_known_str(&self) -> Option<&'static str> {
747748
let s = self.as_str();
748749
if core::intrinsics::is_val_statically_known(s.is_some()) { s } else { None }

0 commit comments

Comments
 (0)