Skip to content

Commit

Permalink
Implement Hash for Overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
unageek committed Jun 23, 2021
1 parent 0b01299 commit 1232863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/overlap.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use crate::interval::*;

/// An overlapping state between intervals, returned by [`Interval::overlap`].
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub enum Overlap {
/// Both `self` and `rhs` are empty.
///
Expand Down

0 comments on commit 1232863

Please sign in to comment.