Skip to content

Commit

Permalink
Merge pull request #2 from GodTamIt/derive-traits
Browse files Browse the repository at this point in the history
Implement common traits for `Parsed`
  • Loading branch information
jix authored Feb 12, 2024
2 parents 2ee86dc + 5e55f0c commit 462b737
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flussab/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
/// [`ResultExt`] trait. Finally some of the methods are only intended for parser that can fall
/// through, and as such, they are not implemented for `Result`.
#[must_use]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Parsed<T, E> {
/// A successfully parsed value or an irrecoverable error.
///
Expand Down

0 comments on commit 462b737

Please sign in to comment.