derive Clone for SortResult
This commit is contained in:
parent
b8ec6963be
commit
9bc0a4e198
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ fn swap(list: &mut [u64], i: usize, j: usize, swaps: &mut u64) {
|
|||
list.swap(i, j);
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct SortResult {
|
||||
pub comparisons: u64,
|
||||
pub swaps: u64,
|
||||
|
|
Loading…
Reference in a new issue