about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
diff options
context:
space:
mode:
authorTaras Tsugrii <taras.tsugriy@gmail.com>2023-08-15 18:56:17 -0700
committerTaras Tsugrii <taras.tsugriy@gmail.com>2023-08-15 19:02:12 -0700
commit0711c01709aa87d73d3b95f97f5097cc30b8a5b0 (patch)
tree92420cf3a92a35d352d1e010f3a71666b0210138 /compiler/rustc_codegen_llvm/src/allocator.rs
parent5b9168a32d143067ffe99fb1c6979b8daa6d715e (diff)
downloadrust-0711c01709aa87d73d3b95f97f5097cc30b8a5b0.tar.gz
rust-0711c01709aa87d73d3b95f97f5097cc30b8a5b0.zip
Replace hand-written binary search with Vec::binary_search_by.
It's similar to https://github.com/rust-lang/miri/pull/3021 and
should improve maintainability.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions