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.
1 parent 89f5f55 commit 6398155Copy full SHA for 6398155
unic/char/range/src/range.rs
@@ -34,7 +34,7 @@ use crate::CharIter;
34
/// If constructed in reverse order, such that `self.high` is ordered before `self.low`,
35
/// the range is empty. If you want to iterate in decreasing order, use `.iter().rev()`.
36
/// All empty ranges are considered equal no matter the internal state.
37
-#[derive(Copy, Clone, Debug, Eq)]
+#[derive(Copy, Clone, Debug, Eq, Hash)]
38
pub struct CharRange {
39
/// The lowest character in this range (inclusive).
40
pub low: char,
0 commit comments