We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bad13a9 + cfcc47e commit 1498d64Copy full SHA for 1498d64
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