Skip to content

Commit

Permalink
Make PackageId derive Copy
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Nov 26, 2018
1 parent 0593e1c commit 0abfcc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/package_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lazy_static! {
}

/// Identifier for a specific version of a package in a specific source.
#[derive(Clone, PartialEq, Eq, Hash, PartialOrd, Ord)]
#[derive(Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct PackageId {
inner: &'static PackageIdInner,
}
Expand Down

0 comments on commit 0abfcc0

Please sign in to comment.