Skip to main content

check_oml

Function check_oml 

Source
pub fn check_oml(_doc: &Doc) -> WriteReport
Expand description

Report what writing OML would adjust, without producing output. Added for issue #31 (the format registry): OML is lossless for every Document (see this module’s doc comment), so there is never anything to report – mirrors Python’s check_oml, which is exactly return WriteReport(). Every other builtin format has a check_* function already; this is the OML counterpart, needed so the "oml" registry entry has a check callable like the other four.