Skip to content

Commit

Permalink
Merge pull request #217 from dario23/ruleresult-derive-more
Browse files Browse the repository at this point in the history
Derive more Implementations for RuleResult
  • Loading branch information
kevinmehall committed Feb 12, 2020
2 parents 49cb1da + 4837a24 commit 5e56a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion peg-runtime/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub mod error;
///
/// You'll only need this if implementing the `Parse*` traits for a custom input
/// type. The public API of a parser adapts errors to `std::result::Result`.
#[derive(Clone)]
#[derive(Clone, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
pub enum RuleResult<T> {
Matched(usize, T),
Failed,
Expand Down

0 comments on commit 5e56a1d

Please sign in to comment.