diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-09-30 00:00:17 +0200 |
---|---|---|
committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-09-30 00:00:17 +0200 |
commit | db75e532e58eabea7a0ab12ecee85c51f24c8709 (patch) | |
tree | 1a1aee6d0fdfd309fc37fb472f60fe388dace739 | |
parent | 283abf4a945f035132e1c3ba0c07e05ef06718de (diff) | |
download | milf-rs-db75e532e58eabea7a0ab12ecee85c51f24c8709.tar.gz milf-rs-db75e532e58eabea7a0ab12ecee85c51f24c8709.zip |
Add Clone derive on ParserError
-rw-r--r-- | src/parser.rs | 2 |
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, |