[−][src]Macro indoc::indoc
indoc!() { /* proc-macro */ }
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()