jrnl: simplify (or complexify, if you dont like iterators and zero-copy) the parsing
This commit is contained in:
parent
28bebd5aaa
commit
0bf5ed0c76
5 changed files with 52 additions and 56 deletions
|
@ -1,3 +1,4 @@
|
|||
#![feature(iter_collect_into)]
|
||||
use clap::{Parser, Subcommand};
|
||||
use std::{fs, path::PathBuf};
|
||||
|
||||
|
@ -34,8 +35,7 @@ fn main() {
|
|||
// TODO: handle btter
|
||||
let file = fs::read_to_string(cli.s10e_jrnl_file_loc).unwrap();
|
||||
|
||||
let doc = Doc::new(&file);
|
||||
dbg!(doc);
|
||||
let doc = dbg!(Doc::new(&file));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue