Skip to content

Commit

Permalink
Merge pull request #204 from msrd0/impl-copy-for-edition
Browse files Browse the repository at this point in the history
impl `Copy` for `Edition`
  • Loading branch information
oli-obk authored Mar 31, 2023
2 parents e567993 + 7cf1b41 commit b489620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ impl Target {
/// The Rust edition
///
/// As of writing this comment rust editions 2024, 2027 and 2030 are not actually a thing yet but are parsed nonetheless for future proofing.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[non_exhaustive]
pub enum Edition {
/// Edition 2015
Expand Down

0 comments on commit b489620

Please sign in to comment.