diff --git a/time/src/format_description/component.rs b/time/src/format_description/component.rs index ea1c0fa86..9af128cb0 100644 --- a/time/src/format_description/component.rs +++ b/time/src/format_description/component.rs @@ -90,7 +90,7 @@ pub enum Component { /// Month of the year. #[deprecated( since = "0.3.48", - note = "use `MonthShort`, `MonthLong`, or `MonthNumeric` instead" + note = "use `MonthShort`, `MonthLong`, or `MonthNumerical` instead" )] Month(modifier::Month), /// Day of the week. diff --git a/time/src/format_description/modifier.rs b/time/src/format_description/modifier.rs index 90700129b..c0788784e 100644 --- a/time/src/format_description/modifier.rs +++ b/time/src/format_description/modifier.rs @@ -314,7 +314,7 @@ impl MonthNumerical { #[allow(deprecated)] #[deprecated( since = "0.3.48", - note = "use `MonthShort`, `MonthLong`, or `MonthNumeric` instead" + note = "use `MonthShort`, `MonthLong`, or `MonthNumerical` instead" )] #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Month {