Skip to content

Commit a53ea95

Browse files
Samuelsillsclaude
andcommitted
Fix remaining multi-line function calls
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f2db144 commit a53ea95

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

library/core/src/slice/sort/shared/smallsort.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -962,19 +962,15 @@ mod verify {
962962
#[kani::unwind(6)]
963963
fn verify_unstable_small_sort() {
964964
let mut arr: [i32; 4] = kani::any();
965-
<i32 as UnstableSmallSortTypeImpl>::small_sort(
966-
&mut arr, &mut |a, b| *a < *b,
967-
);
965+
<i32 as UnstableSmallSortTypeImpl>::small_sort(&mut arr, &mut |a, b| *a < *b);
968966
assert!(is_sorted(&arr));
969967
}
970968

971969
#[kani::proof]
972970
#[kani::unwind(6)]
973971
fn verify_unstable_freeze_small_sort() {
974972
let mut arr: [i32; 4] = kani::any();
975-
<i32 as UnstableSmallSortFreezeTypeImpl>::small_sort(
976-
&mut arr, &mut |a, b| *a < *b,
977-
);
973+
<i32 as UnstableSmallSortFreezeTypeImpl>::small_sort(&mut arr, &mut |a, b| *a < *b);
978974
assert!(is_sorted(&arr));
979975
}
980976
}

0 commit comments

Comments
 (0)