diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-06 17:36:08 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-12-16 09:36:09 +1100 |
| commit | 5f40942f9c462576b4b7976e0a4c855ee350a9f9 (patch) | |
| tree | 46e3e26af4a6469353623640de7a8e52652b3120 /compiler/rustc_builtin_macros/src | |
| parent | 83f3d204cf396502a15b3edf50b561b47c9f0884 (diff) | |
| download | rust-5f40942f9c462576b4b7976e0a4c855ee350a9f9.tar.gz rust-5f40942f9c462576b4b7976e0a4c855ee350a9f9.zip | |
Remove a `FIXME` comment.
It is possible to avoid the clone as suggested in the comment. It would require introducing an enum with two variants `CloneBeforeModifying(&Domain)` and `Modifiable(&mut Domain)`. But it's not worth the effort, because this code path just isn't very hot. E.g. when compiling a large benchmark like `cargo-0.60.0` it's only hit a few thousand times.
Diffstat (limited to 'compiler/rustc_builtin_macros/src')
0 files changed, 0 insertions, 0 deletions
