Macro indoc::printdoc [−][src]
printdoc!() { /* proc-macro */ }
Expand description
Unindent and call print!
.
Argument syntax is the same as for std::print!
.
Example
printdoc! {" GET {url} Accept: {mime} ", url = "http://localhost:8080", mime = "application/json", }
GET http://localhost:8080 Accept: application/json