Skip to main content

emit_rustdoc

Function emit_rustdoc 

Source
pub fn emit_rustdoc(out: &mut String, doc: &str, indent: &str)
Expand description

Emit Rust /// documentation comments.

Used by alef backends that emit Rust source (e.g., the Rustler NIF crate, the swift-bridge wrapper crate, the FRB Dart bridge crate). Distinct from emit_swift_doc only by intent — the syntax is identical (/// per line).