Skip to content

Commit

Permalink
fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
hhamana authored and botahamec committed May 26, 2022
1 parent 7b1e9f6 commit ce0a2d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Expand Up @@ -907,7 +907,7 @@ mod weekday_serde {
/// use num_traits::FromPrimitive;
/// let date = Utc.ymd(2019, 10, 28).and_hms(9, 10, 11);
/// // `2019-10-28T09:10:11Z`
/// let month = Month::from_u32((date.month());
/// let month = Month::from_u32(date.month());
/// assert_eq!(month, Some(Month::October))
/// ```
/// Or from a Month to an integer usable by dates
Expand Down

0 comments on commit ce0a2d7

Please sign in to comment.