Macro indoc::eprintdoc

source ·
eprintdoc!() { /* proc-macro */ }
Expand description

Unindent and call eprint!.

Argument syntax is the same as for std::eprint!.

Example

eprintdoc! {"
    GET {url}
    Accept: {mime}
    ",
    url = "http://localhost:8080",
    mime = "application/json",
}
GET http://localhost:8080
Accept: application/json