chore: replace some debug_assert with explicit panic

This commit is contained in:
PoiScript 2024-05-09 11:02:46 +08:00
parent b9a3c7a889
commit 8a29a46095
No known key found for this signature in database
GPG key ID: 22C2B1249D99985E
16 changed files with 145 additions and 139 deletions

View file

@ -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();