rust/library/alloc/tests
Dylan DPC 5a7f09d9a3
Rollup merge of #93950 - T-O-R-U-S:use-modern-formatting-for-format!-macros, r=Mark-Simulacrum
Use modern formatting for format! macros

This updates the standard library's documentation to use the new format_args syntax.
The documentation is worthwhile to update as it should be more idiomatic
(particularly for features like this, which are nice for users to get acquainted
with). The general codebase is likely more hassle than benefit to update: it'll
hurt git blame, and generally updates can be done by folks updating the code if
(and when) that makes things more readable with the new format.

A few places in the compiler and library code are updated (mostly just due to
already having been done when this commit was first authored).

`eprintln!("{}", e)` becomes `eprintln!("{e}")`, but `eprintln!("{}", e.kind())` remains untouched.
2022-03-10 23:12:57 +01:00
..
arc.rs
binary_heap.rs
borrow.rs
boxed.rs Revert accidental stabilization 2022-03-10 14:36:51 +00:00
btree_set_hash.rs
const_fns.rs
cow_str.rs
fmt.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
heap.rs
lib.rs Add {floor,ceil}_char_boundary methods to str 2022-02-07 13:34:08 -05:00
linked_list.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
rc.rs
slice.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
str.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
string.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
vec_deque.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
vec.rs Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00