Skip to content

Commit

Permalink
Fix doc on Days::new to refer to days, not months.
Browse files Browse the repository at this point in the history
This fixes #871
  • Loading branch information
brotskydotcom authored and djc committed Nov 15, 2022
1 parent 9e5eb49 commit e7eb35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/naive/date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl NaiveWeek {
pub struct Days(pub(crate) u64);

impl Days {
/// Construct a new `Days` from a number of months
/// Construct a new `Days` from a number of days
pub fn new(num: u64) -> Self {
Self(num)
}
Expand Down

0 comments on commit e7eb35f

Please sign in to comment.