Merge pull request #74 from GuillaumeGomez/master
Add Clone derive on ParserError
This commit is contained in:
commit
96c6cd94ec
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue