aboutsummaryrefslogtreecommitdiff
path: root/utf8parse/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'utf8parse/src/lib.rs')
-rw-r--r--utf8parse/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8parse/src/lib.rs b/utf8parse/src/lib.rs
index 947a0aa..093de81 100644
--- a/utf8parse/src/lib.rs
+++ b/utf8parse/src/lib.rs
@@ -25,7 +25,7 @@ pub trait Receiver {
/// A parser for Utf8 Characters
///
/// Repeatedly call `advance` with bytes to emit Utf8 characters
-#[derive(Default)]
+#[derive(Clone, Default, PartialEq, Eq, Debug)]
pub struct Parser {
point: u32,
state: State,