Skip to content

Commit f5b216d

Browse files
committed
Revert "Add known issue of let binding to format_args doc"
This reverts commit cd7c161.
1 parent f437c86 commit f5b216d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

library/core/src/macros/mod.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -975,14 +975,6 @@ pub(crate) mod builtin {
975975
/// let s = fmt::format(format_args!("hello {}", "world"));
976976
/// assert_eq!(s, format!("hello {}", "world"));
977977
/// ```
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).
986978
#[stable(feature = "rust1", since = "1.0.0")]
987979
#[rustc_diagnostic_item = "format_args_macro"]
988980
#[allow_internal_unsafe]

0 commit comments

Comments
 (0)