diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-07-24 22:22:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-24 22:22:18 +0200 |
| commit | 104a421a46f9756a3ebc1a77c40878479e99993e (patch) | |
| tree | 38c04373732f4c8b8ae17e2c53962e5a72db49f4 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | d146ecdcb91f81b1fae2a1a032093af6320d08db (diff) | |
| parent | 4d5ac84285e13a05c0ade4b83aeb309a1f351610 (diff) | |
| download | rust-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
