Skip to content

Commit c195b83

Browse files
authored
Merge pull request #233 from epage/api
fix!: Make AnnotationKind non-exhaustive
2 parents 454d650 + 1b95082 commit c195b83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/snippet.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ impl<'a> Annotation<'a> {
260260

261261
/// The category of the [`Annotation`]
262262
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
263+
#[non_exhaustive]
263264
pub enum AnnotationKind {
264265
/// Color to the [`Level`] the first [`Title`] in [`Group`]. If no [`Title`]
265266
/// is present, it will default to `error`.

0 commit comments

Comments
 (0)