Skip to content

Commit

Permalink
Merge pull request #24 from EspressoSystems/static_version_traits
Browse files Browse the repository at this point in the history
StaticVersion can be Copy
  • Loading branch information
nyospe authored Feb 27, 2024
2 parents 55abe32 + 9efb115 commit 4e4695b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ impl Version {
}
}

#[derive(Clone, Copy, Display)]
pub struct StaticVersion<const MAJOR: u16, const MINOR: u16>;

impl<const MAJOR: u16, const MINOR: u16> StaticVersion<MAJOR, MINOR> {
Expand Down

0 comments on commit 4e4695b

Please sign in to comment.