mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-31 16:40:22 +00:00
91a68b950d
This removes redundant case from resolve_neighbor_commit_ids(). The returned position should never be lower than the prefix id. The implementation is basically a copy of slice::binary_search_by(). We still use (low + high) / 2 as the size wouldn't exceed 2^31. https://github.com/rust-lang/rust/blob/1.76.0/library/core/src/slice/mod.rs#L2825 |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
Cargo.toml | ||
LICENSE |