Skip to content

Commit

Permalink
Implement Arbitrary for Weekday
Browse files Browse the repository at this point in the history
  • Loading branch information
greyblake authored and djc committed Oct 18, 2022
1 parent 8b654b5 commit b9241c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/weekday.rs
Expand Up @@ -11,6 +11,7 @@ use rkyv::{Archive, Deserialize, Serialize};
#[derive(PartialEq, Eq, Copy, Clone, Debug, Hash)]
#[cfg_attr(feature = "rustc-serialize", derive(RustcEncodable, RustcDecodable))]
#[cfg_attr(feature = "rkyv", derive(Archive, Deserialize, Serialize))]
#[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))]
pub enum Weekday {
/// Monday.
Mon = 0,
Expand Down

0 comments on commit b9241c0

Please sign in to comment.