about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-07-24 22:22:18 +0200
committerGitHub <noreply@github.com>2024-07-24 22:22:18 +0200
commit104a421a46f9756a3ebc1a77c40878479e99993e (patch)
tree38c04373732f4c8b8ae17e2c53962e5a72db49f4 /compiler/rustc_codegen_gcc/example/std_example.rs
parentd146ecdcb91f81b1fae2a1a032093af6320d08db (diff)
parent4d5ac84285e13a05c0ade4b83aeb309a1f351610 (diff)
downloadrust-104a421a46f9756a3ebc1a77c40878479e99993e.tar.gz
rust-104a421a46f9756a3ebc1a77c40878479e99993e.zip
Rollup merge of #128140 - veera-sivarajan:remove-ident-to-str-conversions, r=compiler-errors
Remove Unnecessary `.as_str()` Conversions

Because comparing interned values is much more efficient than converting a `rustc_span::symbol::Ident` to `&str`  and then doing the comparison.

docs: https://doc.rust-lang.org/stable/nightly-rustc/rustc_span/symbol/struct.Ident.html#method.as_str
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions