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