Merge pull request #74 from GuillaumeGomez/master

Add Clone derive on ParserError
This commit is contained in:
Alex Crichton 2015-09-29 17:31:39 -07:00
commit 96c6cd94ec

View file

@ -103,7 +103,7 @@ pub struct Parser<'a> {
/// ///
/// The data in this structure can be used to trace back to the original cause /// 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. /// of the error in order to provide diagnostics about parse errors.
#[derive(Debug)] #[derive(Debug, Clone)]
pub struct ParserError { pub struct ParserError {
/// The low byte at which this error is pointing at. /// The low byte at which this error is pointing at.
pub lo: usize, pub lo: usize,