aboutsummaryrefslogtreecommitdiff
path: root/utf8parse/src/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'utf8parse/src/types.rs')
-rw-r--r--utf8parse/src/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8parse/src/types.rs b/utf8parse/src/types.rs
index 77a79cc..f57a94d 100644
--- a/utf8parse/src/types.rs
+++ b/utf8parse/src/types.rs
@@ -26,7 +26,7 @@ pub enum Action {
/// There is a state for each initial input of the 3 and 4 byte sequences since
/// the following bytes are subject to different conditions than a tail byte.
#[allow(non_camel_case_types)]
-#[derive(Debug, Copy, Clone)]
+#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum State {
/// Ground state; expect anything
Ground = 0,