about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-03-10 23:12:57 +0100
committerGitHub <noreply@github.com>2022-03-10 23:12:57 +0100
commit5a7f09d9a3e56e2370731d1cdab78cbcb3451d0f (patch)
tree4ccb38378fa7d42b4a8a9d4ab0e47ae5078da385 /compiler/rustc_codegen_llvm/src
parent5f4e0677190b82e61dc507e3e72caf89da8e5e28 (diff)
parent72a25d05bf1a4b155d74139ef700ff93af6d8e22 (diff)
downloadrust-5a7f09d9a3e56e2370731d1cdab78cbcb3451d0f.tar.gz
rust-5a7f09d9a3e56e2370731d1cdab78cbcb3451d0f.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions