diff --git a/CHANGELOG.md b/CHANGELOG.md index f129dd3..b8b5de9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -241,7 +241,7 @@ release due to the compatibility concern raised. - The major version was made to fix the broken Serde dependency issues. (#146, #156, #158, #159) The original intention to technically break the dependency was - to faciliate the use of Serde 1.0 at the expense of temporary breakage. + to facilitate the use of Serde 1.0 at the expense of temporary breakage. Whether this was appropriate or not is quite debatable, but it became clear that there are several high-profile crates requiring Serde 0.9 and it is not feasible to force them to use Serde 1.0 anyway. diff --git a/src/date.rs b/src/date.rs index 430263c..1b7923c 100644 --- a/src/date.rs +++ b/src/date.rs @@ -55,7 +55,7 @@ impl Date { /// Makes a new `Date` with given *UTC* date and offset. /// The local date should be constructed via the `TimeZone` trait. // - // note: this constructor is purposedly not named to `new` to discourage the direct usage. + // note: this constructor is purposely not named to `new` to discourage the direct usage. #[inline] pub fn from_utc(date: NaiveDate, offset: Tz::Offset) -> Date { Date { date: date, offset: offset } diff --git a/src/datetime.rs b/src/datetime.rs index fe780e6..945f61c 100644 --- a/src/datetime.rs +++ b/src/datetime.rs @@ -82,7 +82,7 @@ impl DateTime { /// assert_eq!(Utc.timestamp(61, 0), dt); /// ~~~~ // - // note: this constructor is purposedly not named to `new` to discourage the direct usage. + // note: this constructor is purposely not named to `new` to discourage the direct usage. #[inline] pub fn from_utc(datetime: NaiveDateTime, offset: Tz::Offset) -> DateTime { DateTime { datetime: datetime, offset: offset } @@ -137,7 +137,7 @@ impl DateTime { /// Note that this does reduce the number of years that can be represented /// from ~584 Billion to ~584. (If this is a problem, please file /// an issue to let me know what domain needs nanosecond precision over - /// millenia, I'm curious.) + /// millennia, I'm curious.) /// /// # Example /// diff --git a/src/naive/date.rs b/src/naive/date.rs index 42c82bb..f6cdded 100644 --- a/src/naive/date.rs +++ b/src/naive/date.rs @@ -411,7 +411,7 @@ impl NaiveDate { Of::new(ordinal, flags)) } - /// Makes a new `NaiveDate` by counting the number of occurances of a particular day-of-week + /// Makes a new `NaiveDate` by counting the number of occurrences of a particular day-of-week /// since the beginning of the given month. For instance, if you want the 2nd Friday of March /// 2017, you would use `NaiveDate::from_weekday_of_month(2017, 3, Weekday::Fri, 2)`. /// @@ -440,7 +440,7 @@ impl NaiveDate { NaiveDate::from_weekday_of_month_opt(year, month, weekday, n).expect("out-of-range date") } - /// Makes a new `NaiveDate` by counting the number of occurances of a particular day-of-week + /// Makes a new `NaiveDate` by counting the number of occurrences of a particular day-of-week /// since the beginning of the given month. For instance, if you want the 2nd Friday of March /// 2017, you would use `NaiveDate::from_weekday_of_month(2017, 3, Weekday::Fri, 2)`. `n` is 1-indexed. /// diff --git a/src/naive/datetime.rs b/src/naive/datetime.rs index 24aee97..6989a62 100644 --- a/src/naive/datetime.rs +++ b/src/naive/datetime.rs @@ -317,7 +317,7 @@ impl NaiveDateTime { /// 2262-04-11T23:47:16.854775804. /// /// (If this is a problem, please file an issue to let me know what domain - /// needs nanosecond precision over millenia, I'm curious.) + /// needs nanosecond precision over millennia, I'm curious.) /// /// # Example ///