We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05e516d commit 228d0dbCopy full SHA for 228d0db
jscomp/others/belt_List.ml
@@ -694,17 +694,13 @@ let setAssoc xs x k eq = setAssocU xs x k (fun [@bs] a b -> eq a b)
694
695
let sort xs cmp =
696
let arr = toArray xs in
697
- begin
698
- Belt_SortArray.stableSortInPlaceBy arr cmp;
699
- fromArray arr;
700
- end
+ Belt_SortArray.stableSortInPlaceBy arr cmp;
+ fromArray arr
701
702
let sortU xs cmp =
703
704
705
- Belt_SortArray.stableSortInPlaceByU arr cmp;
706
707
+ Belt_SortArray.stableSortInPlaceByU arr cmp;
708
709
let rec getByU xs p =
710
match xs with
0 commit comments