fix typo in QuickSort code (#1466)

Seems there were 1 too many closing round brackets when calling QuickSort.
This commit is contained in:
Ilja van Sprundel
2022-07-20 18:25:06 +03:00
committed by GitHub
parent c20c6cb8bf
commit e85282567a
+2 -2
View File
@@ -36,8 +36,8 @@ fn QuickSort[T:! Comparable & Movable](s: Slice(T)) {
return;
}
let p: i64 = Partition(s);
QuickSort(s[:p - 1]));
QuickSort(s[p + 1:]));
QuickSort(s[:p - 1]);
QuickSort(s[p + 1:]);
}
```