From 87d7d5df0baf43aaa1e4c420e71b7463b7862eb8 Mon Sep 17 00:00:00 2001 From: Lilith Orion Hafner Date: Wed, 9 Nov 2022 07:43:33 +0600 Subject: [PATCH] Simplify and future-proof of QuickSortAlg Fixup for #47489 --- base/sort.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/sort.jl b/base/sort.jl index b4227e6fb5d3e..d43b876f10f43 100644 --- a/base/sort.jl +++ b/base/sort.jl @@ -474,7 +474,7 @@ Characteristics: (vanishingly rare for non-malicious input) """ const QuickSort = PartialQuickSort(missing, missing) -const QuickSortAlg = PartialQuickSort{Missing, Missing} # Exists for backward compatibility +const QuickSortAlg = typeof(QuickSort) # Exists for backward compatibility """ MergeSort