Skip to content

Commit a1217db

Browse files
committed
Derive PartialEq for snippet::AnnotationType
1 parent 4b1d68b commit a1217db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/snippet.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub struct Slice {
5555
}
5656

5757
/// Types of annotations.
58-
#[derive(Debug, Clone, Copy)]
58+
#[derive(Debug, Clone, Copy, PartialEq)]
5959
pub enum AnnotationType {
6060
/// Error annotations are displayed using red color and "^" character.
6161
Error,

0 commit comments

Comments
 (0)