chore: update benchmark
This commit is contained in:
parent
471a23c958
commit
be32dc24e0
3 changed files with 26 additions and 9 deletions
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue