concatdoc!() { /* proc-macro */ }
Expand description
Unindent and call concat!
.
Argument syntax is the same as for std::concat!
.
ยงExample
const HELP: &str = concatdoc! {"
Usage: ", env!("CARGO_BIN_NAME"), " [options]
Options:
-h, --help
"};
print!("{}", HELP);
Usage: example [options]
Options:
-h, --help