chore: update benchmark

This commit is contained in:
PoiScript 2023-11-24 10:58:08 +08:00
parent 471a23c958
commit be32dc24e0
No known key found for this signature in database
GPG key ID: 22C2B1249D99985E
3 changed files with 26 additions and 9 deletions

View file

@ -23,8 +23,8 @@ fn main() {
if args.len() < 2 {
eprintln!("Usage: {} <org-mode-string>", args[0]);
} else {
let s = &args[1].replace(r#"\n"#, "\n").replace(r#"\r"#, "\r");
let org = Org::parse(&s);
let s = &args[1].replace(r"\n", "\n").replace(r"\r", "\r");
let org = Org::parse(s);
println!("{:#?}", org.document().syntax());
}
}