Skip to content

Commit

Permalink
No clone needed
Browse files Browse the repository at this point in the history
  • Loading branch information
leftwo committed Nov 7, 2024
1 parent ef074fc commit 733b511
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upstairs/src/volume.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fn build_region_definition(
}

// Result of comparing two [`VolumeConstructionRequest::Region`] values
#[derive(Debug, Clone)]
#[derive(Debug)]
enum VCRDelta {
/// The Regions are identical.
Same,
Expand All @@ -50,7 +50,7 @@ enum VCRDelta {
}

// Result of comparing two [`VolumeConstructionRequest::Volume`] values
#[derive(Debug, Clone)]
#[derive(Debug)]
enum CompareResult {
Volume {
sub_compares: Vec<CompareResult>,
Expand Down Expand Up @@ -1601,7 +1601,7 @@ impl Volume {
read_only_parent_compare,
};

Ok(sv_res.clone())
Ok(sv_res)
}

(
Expand Down

0 comments on commit 733b511

Please sign in to comment.