Skip to content

Commit

Permalink
Derive Eq and PartialEq for SortOptions (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Jun 8, 2021
1 parent e8d9ef5 commit 5adfd3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow/src/compute/kernels/sort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ pub fn sort_to_indices(
}

/// Options that define how sort kernels should behave
#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct SortOptions {
/// Whether to sort in descending order
pub descending: bool,
Expand Down

0 comments on commit 5adfd3d

Please sign in to comment.