We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 66ccc4f + cfcc47e commit e31ce50Copy full SHA for e31ce50
library/core/src/fmt/mod.rs
@@ -743,6 +743,7 @@ impl<'a> Arguments<'a> {
743
#[unstable(feature = "fmt_internals", reason = "internal to standard library", issue = "none")]
744
#[must_use]
745
#[inline]
746
+ #[doc(hidden)]
747
pub fn as_statically_known_str(&self) -> Option<&'static str> {
748
let s = self.as_str();
749
if core::intrinsics::is_val_statically_known(s.is_some()) { s } else { None }
0 commit comments