Skip to content

Commit

Permalink
Format the examples
Browse files Browse the repository at this point in the history
  • Loading branch information
marcdejonge committed Jan 3, 2025
1 parent 1610a1a commit 1d981ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/generic_input.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use nom::character::complete::space1;
use nom::combinator::map;
use nom::error::{Error, ParseError};
use nom::multi::separated_list1;
use nom::*;
use nom::error::{Error, ParseError};
use nom_parse_trait::{ParseFrom, ParseFromExt};

struct Numbers(Vec<u32>);
Expand Down
5 changes: 1 addition & 4 deletions examples/simple.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
use nom::character::complete::space1;
use nom::combinator::map;
use nom::multi::separated_list1;
use nom::{
IResult,
Parser,
};
use nom::{IResult, Parser};
use nom_parse_trait::{ParseFrom, ParseFromExt};

struct Numbers(Vec<u32>);
Expand Down

0 comments on commit 1d981ae

Please sign in to comment.