We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2667362 + ef8f055 commit c83c9e2Copy full SHA for c83c9e2
site/src/selector.rs
@@ -66,7 +66,7 @@ pub fn range_subset(data: Vec<Commit>, range: RangeInclusive<Bound>) -> Vec<Comm
66
let (a, b) = range.into_inner();
67
68
let left_idx = data.iter().position(|commit| a.left_match(commit));
69
- let right_idx = data.iter().rposition(|commit| b.left_match(commit));
+ let right_idx = data.iter().rposition(|commit| b.right_match(commit));
70
71
if let (Some(left), Some(right)) = (left_idx, right_idx) {
72
data.get(left..=right)
0 commit comments