Skip to content

Commit

Permalink
refactor imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornaz committed Jul 9, 2023
1 parent d2dbdf5 commit 6d1fb42
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,13 @@
//! # Ok(()) }
//! ```

use std::collections::HashSet;
use std::{fs::File, io::Read, path::PathBuf, str::FromStr};
use std::{collections::HashSet, fs::File, io::Read, path::PathBuf, str::FromStr};

use nom::combinator::all_consuming;
use nom::{
branch::alt,
bytes::complete::{tag, take_till},
character::complete::{char, line_ending, not_line_ending, space0, space1},
combinator::not,
combinator::{cut, eof, iterator, map, opt},
combinator::{all_consuming, cut, eof, iterator, map, not, opt},
sequence::{delimited, preceded, terminated, tuple},
Finish, Parser,
};
Expand Down

0 comments on commit 6d1fb42

Please sign in to comment.