chore: replace some debug_assert with explicit panic
This commit is contained in:
parent
b9a3c7a889
commit
8a29a46095
16 changed files with 145 additions and 139 deletions
|
|
@ -15,7 +15,7 @@ fn main() {
|
|||
let content = fs::read_to_string(&args[1]).unwrap();
|
||||
|
||||
let mut export = MarkdownExport::default();
|
||||
Org::parse(&content).traverse(&mut export);
|
||||
Org::parse(content).traverse(&mut export);
|
||||
|
||||
fs::write(format!("{}.md", &args[1]), export.finish()).unwrap();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue