aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-09-29 17:31:39 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-09-29 17:31:39 -0700
commit96c6cd94ec32fb58603764ba33e19319a3165d75 (patch)
tree1a1aee6d0fdfd309fc37fb472f60fe388dace739
parent283abf4a945f035132e1c3ba0c07e05ef06718de (diff)
parentdb75e532e58eabea7a0ab12ecee85c51f24c8709 (diff)
downloadmilf-rs-96c6cd94ec32fb58603764ba33e19319a3165d75.tar.gz
milf-rs-96c6cd94ec32fb58603764ba33e19319a3165d75.zip
Merge pull request #74 from GuillaumeGomez/master
Add Clone derive on ParserError
-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,