diff --git a/src/format/mod.rs b/src/format/mod.rs index 5685860c7b..768ed76815 100644 --- a/src/format/mod.rs +++ b/src/format/mod.rs @@ -386,7 +386,7 @@ pub enum ParseErrorKind { /// There was an error on the formatting string, or there were non-supported formating items. BadFormat, - // TODO: Change this to `#[non_exhaustive]` (on the enum) when MSRV is increased + // TODO: Change this to `#[non_exhaustive]` (on the enum) with the next breaking release. #[doc(hidden)] __Nonexhaustive, } diff --git a/src/format/parsed.rs b/src/format/parsed.rs index 27bc0cdb41..1ed5dcbf1d 100644 --- a/src/format/parsed.rs +++ b/src/format/parsed.rs @@ -106,6 +106,7 @@ pub struct Parsed { pub offset: Option, /// A dummy field to make this type not fully destructible (required for API stability). + // TODO: Change this to `#[non_exhaustive]` (on the enum) with the next breaking release. _dummy: (), }