We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b1d68b + a1217db commit 4f2502fCopy full SHA for 4f2502f
src/snippet.rs
@@ -55,7 +55,7 @@ pub struct Slice {
55
}
56
57
/// Types of annotations.
58
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone, Copy, PartialEq)]
59
pub enum AnnotationType {
60
/// Error annotations are displayed using red color and "^" character.
61
Error,
0 commit comments