Skip to content

Commit

Permalink
Auto merge of #380 - remexre:impls-for-error, r=BurntSushi
Browse files Browse the repository at this point in the history
Derives Clone and PartialEq on regex::Error.

Resolves #379.
  • Loading branch information
bors committed Jun 2, 2017
2 parents 8ffd85d + 38f8b95 commit 23aa434
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 23aa434

Please sign in to comment.