Skip to content

Commit

Permalink
Derives Clone and PartialEq on regex::Error.
Browse files Browse the repository at this point in the history
  • Loading branch information
remexre committed Jun 2, 2017
1 parent 6d07ffe commit 38f8b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::fmt;
use syntax;

/// An error that occurred during parsing or compiling a regular expression.
#[derive(Debug)]
#[derive(Clone, Debug, PartialEq)]
pub enum Error {
/// A syntax error.
Syntax(String),
Expand Down

0 comments on commit 38f8b95

Please sign in to comment.