aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2015-09-30 00:00:17 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2015-09-30 00:00:17 +0200
commitdb75e532e58eabea7a0ab12ecee85c51f24c8709 (patch)
tree1a1aee6d0fdfd309fc37fb472f60fe388dace739 /src
parent283abf4a945f035132e1c3ba0c07e05ef06718de (diff)
downloadmilf-rs-db75e532e58eabea7a0ab12ecee85c51f24c8709.tar.gz
milf-rs-db75e532e58eabea7a0ab12ecee85c51f24c8709.zip
Add Clone derive on ParserError
Diffstat (limited to 'src')
-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,