We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e347e1 commit 2c69b46Copy full SHA for 2c69b46
src/tools/miri/src/concurrency/range_object_map.rs
@@ -45,6 +45,7 @@ impl<T> RangeObjectMap<T> {
45
self.v.binary_search_by(|elem| -> std::cmp::Ordering {
46
if offset < elem.range.start {
47
// We are too far right (offset is further left).
48
+ // (`Greater` means that `elem` is greater than the desired target.)
49
std::cmp::Ordering::Greater
50
} else if offset >= elem.range.end() {
51
// We are too far left (offset is further right).
0 commit comments