remove some more nom

This commit is contained in:
Robin Appelman 2021-12-21 15:42:39 +01:00
commit 311345cf4e
15 changed files with 103 additions and 91 deletions

View file

@ -5,7 +5,7 @@ use std::io::stdout;
use tf_log_parser::parse;
fn main() -> Result<(), MainError> {
let path = args().skip(1).next().expect("No path provided");
let path = args().nth(1).expect("No path provided");
let content = fs::read_to_string(path)?;
let log = parse(&content)?;