Skip to content

Commit

Permalink
parsing: reexport nom::CompareResult
Browse files Browse the repository at this point in the history
  • Loading branch information
Keruspe committed Jun 22, 2024
1 parent 7106d8a commit cbceae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/src/parsing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ pub fn parse_flags<I: ParsableInput>(i: I, names: &[&str]) -> ParserResult<I, AM
/// Traits required for parsing
pub mod traits {
/// Reexport nom traits required for parsing
pub use nom::{Compare, Input, Needed};
pub use nom::{Compare, CompareResult, Input, Needed};

/// Trait used to ensure we can properly parse input
pub trait ParsableInput: Clone + Compare<&'static [u8]> + Input<Item = u8> + PartialEq {}
Expand Down

0 comments on commit cbceae8

Please sign in to comment.