mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
Address clippy lints
This commit is contained in:
parent
152400dea3
commit
c0257302a9
2 changed files with 6 additions and 6 deletions
|
@ -3021,8 +3021,11 @@ pub fn merged_ability_slices(
|
|||
let left = subs.get_subs_slice(left_slice);
|
||||
let right = subs.get_subs_slice(right_slice);
|
||||
|
||||
debug_assert!(is_sorted_dedup(left));
|
||||
debug_assert!(is_sorted_dedup(right));
|
||||
#[cfg(debug_assertions)]
|
||||
{
|
||||
debug_assert!(is_sorted_dedup(left));
|
||||
debug_assert!(is_sorted_dedup(right));
|
||||
}
|
||||
|
||||
// In practice, ability lists should be very short, so check prefix runs foremost.
|
||||
if left.starts_with(right) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue