commit bb8c74542457826daface68277e34212797debec from: witcher date: Fri Jan 6 14:52:52 2023 UTC Mark `Tag` as `non_exhaustive` Since it is planned to add more tags later on, `Tag` is now marked as `non_exhaustive`. commit - 56a34cab2c941537894a8d45e00a8a0c22102ba7 commit + bb8c74542457826daface68277e34212797debec blob - 15183b4929d763f4b870c60c739fe9925d1b155c blob + ee842dc9b02f370b4e5c8e8126c770fbdd326916 --- src/types.rs +++ src/types.rs @@ -11,6 +11,7 @@ use nom::Finish; use std::num::NonZeroU8; /// A Tag in a Task. +#[non_exhaustive] #[derive(Debug, PartialEq, Eq)] pub enum Tag<'a> { /// A project tag. It is prefixed with a `+`, which is stripped.