We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f437c86 commit f5b216dCopy full SHA for f5b216d
library/core/src/macros/mod.rs
@@ -975,14 +975,6 @@ pub(crate) mod builtin {
975
/// let s = fmt::format(format_args!("hello {}", "world"));
976
/// assert_eq!(s, format!("hello {}", "world"));
977
/// ```
978
- ///
979
- /// # Lifetime limitation
980
981
- /// Except when no formatting arguments are used,
982
- /// the produced `fmt::Arguments` value borrows temporary values,
983
- /// which means it can only be used within the same expression
984
- /// and cannot be stored for later use.
985
- /// This is a known limitation, see [#92698](https://github.com/rust-lang/rust/issues/92698).
986
#[stable(feature = "rust1", since = "1.0.0")]
987
#[rustc_diagnostic_item = "format_args_macro"]
988
#[allow_internal_unsafe]
0 commit comments