Skip to main content

format_macro_body

Function format_macro_body 

Source
pub fn format_macro_body<B>(body: B) -> String
where B: AsRef<str>,
Expand description

Formats the body of a euv macro invocation.

First applies raw formatting rules, then adds proper indentation.

§Arguments

  • B: AsRef<str> - The raw macro body text (without outer braces).

§Returns

  • String - The formatted macro body text.