mirror of
https://codeberg.org/icewind/tf-log-parser.git
synced 2026-11-30 04:40:47 +01:00
remove some more nom
This commit is contained in:
parent
d326e1bb6a
commit
311345cf4e
15 changed files with 103 additions and 91 deletions
|
|
@ -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)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue