aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser.rs b/src/parser.rs
index ab63e63..394465f 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -103,7 +103,7 @@ pub struct Parser<'a> {
///
/// The data in this structure can be used to trace back to the original cause
/// of the error in order to provide diagnostics about parse errors.
-#[derive(Debug)]
+#[derive(Debug, Clone)]
pub struct ParserError {
/// The low byte at which this error is pointing at.
pub lo: usize,