Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove unused generic parameters #8249

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ unconstrained fn count_private_items<T, let N: u32>(array: [T; N]) -> u32 where
length
}

pub fn get_combined_order_hints_asc<T, S, let N: u32>(
pub fn get_combined_order_hints_asc<T, let N: u32>(
array_lt: [T; N],
array_gte: [T; N]
) -> [CombinedOrderHint; N] where T: Ordered + Eq + Empty {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ pub fn get_order_hints<T, let N: u32>(
hints
}

pub fn get_order_hints_asc<T, S, let N: u32>(array: [T; N]) -> [OrderHint; N] where T: Ordered + Eq + Empty {
pub fn get_order_hints_asc<T, let N: u32>(array: [T; N]) -> [OrderHint; N] where T: Ordered + Eq + Empty {
get_order_hints(array, compare_by_counter_empty_padded_asc)
}

pub fn get_order_hints_desc<T, S, let N: u32>(array: [T; N]) -> [OrderHint; N] where T: Ordered + Eq + Empty {
pub fn get_order_hints_desc<T, let N: u32>(array: [T; N]) -> [OrderHint; N] where T: Ordered + Eq + Empty {
get_order_hints(array, compare_by_counter_empty_padded_desc)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ fn get_split_order_hints<T, let N: u32>(
SplitOrderHints { sorted_counters_lt, sorted_counters_gte, sorted_indexes }
}

pub fn get_split_order_hints_asc<T, S, let N: u32>(
pub fn get_split_order_hints_asc<T, let N: u32>(
array: [T; N],
split_counter: u32
) -> SplitOrderHints<N> where T: Ordered + Eq + Empty {
get_split_order_hints(array, split_counter, true)
}

pub fn get_split_order_hints_desc<T, S, let N: u32>(
pub fn get_split_order_hints_desc<T, let N: u32>(
array: [T; N],
split_counter: u32
) -> SplitOrderHints<N> where T: Ordered + Eq + Empty {
Expand Down
Loading