Skip to content

Commit

Permalink
optimizations: assert_eq instead of assert
Browse files Browse the repository at this point in the history
  • Loading branch information
tontinton committed Dec 5, 2024
1 parent 286938b commit 94dfe40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimizations/remove_redundant_sorts_before_count.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ impl Optimization for RemoveRedundantSortsBeforeCount {
}

fn apply(&self, steps: &[WorkflowStep], groups: &[Group]) -> Option<Vec<WorkflowStep>> {
assert!(groups.len() == 1);
assert_eq!(groups.len(), 1);

let (start, end) = groups[0];

Expand Down

0 comments on commit 94dfe40

Please sign in to comment.