about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorFrank Rehwinkel <frankrehwinkel@gmail.com>2024-10-02 08:13:11 -0400
committerOli Scherer <github@oli-obk.de>2024-10-02 20:08:46 +0200
commit81202c8b13c6ff64c14fd740757ba3e283adfec7 (patch)
tree4c94efc409d8ffedeee33e53e16c41051914f359 /compiler/rustc_codegen_llvm/src/errors.rs
parent86bb1373aa94aec8d9d4c8fb692cd352eca01d90 (diff)
downloadrust-81202c8b13c6ff64c14fd740757ba3e283adfec7.tar.gz
rust-81202c8b13c6ff64c14fd740757ba3e283adfec7.zip
epoll: remove extraneous clone of ready_list
A simplification that doesn't impact the epoll implementation's logic.

It is not necessary to clone the ready_list before reading its
`is_empty` state.

This avoids the clone step but more importantly avoids the invisible
drop step of the clone.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions