compile_opt

Function compile_opt 

Source
pub fn compile_opt<D>(world: &dyn World) -> Warned<SourceResult<D>>
where D: Output,
Expand description

Compile the document if syntax-only mode is disabled; otherwise, return an error.