feat: add Eq & Ord to Era (#53)

This commit is contained in:
Lucas 2022-02-18 07:51:26 -05:00 committed by GitHub
parent b1df379152
commit 7bf45a97c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ where
}
}
#[derive(Debug, Copy, Clone)]
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub enum Era {
Byron,
Shelley,