From ea2f82d35fc4973117873d814e83831def1ccaff Mon Sep 17 00:00:00 2001 From: sundy-li <543950155@qq.com> Date: Sun, 1 Aug 2021 13:15:46 +0800 Subject: [PATCH] Make MergeSlice pub --- src/compute/merge_sort/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compute/merge_sort/mod.rs b/src/compute/merge_sort/mod.rs index ab8d91f789d..e3c2d4feddd 100644 --- a/src/compute/merge_sort/mod.rs +++ b/src/compute/merge_sort/mod.rs @@ -77,7 +77,7 @@ use crate::error::Result; /// This representation is useful when building arrays in memory as it allows to memcopy slices of arrays. /// This is particularly useful in merge-sort because sorted arrays (passed to the merge-sort) are more likely /// to have contiguous blocks of sorted elements (than by random). -type MergeSlice = (usize, usize, usize); +pub type MergeSlice = (usize, usize, usize); /// Takes N arrays together through `slices` under the assumption that the slices have /// a total coverage of the arrays.