Skip to main content
← Back to kicad-monkey Rust Docs kicad-monkey Rust Crate API Reference

format

Function format 

Source
pub fn format(source: &str, options: FormatOptions) -> Result<String, Error>
Expand description

Reformat source tokens without materializing an owned expression tree.

Token spelling is retained exactly. Whitespace and whole-line comments are intentionally normalized, matching the Python foundation formatter.