Macro indoc::indoc [−][src]
indoc!() { /* proc-macro */ }
Expand description
Unindent and produce &'static str
.
Example
// The type of `program` is &'static str let program = indoc! {" def hello(): print('Hello, world!') hello() "}; print!("{}", program);
def hello(): print('Hello, world!') hello()