Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Derive PartialEq for snippet::AnnotationType
  • Loading branch information
GodTamIt committed Nov 25, 2019
commit a1217dbd9ce36347bc7f7de044d53262d914e310
2 changes: 1 addition & 1 deletion src/snippet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub struct Slice {
}

/// Types of annotations.
#[derive(Debug, Clone, Copy)]
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum AnnotationType {
/// Error annotations are displayed using red color and "^" character.
Error,
Expand Down