Macro include_as_doc

Source
include_as_doc!() { /* proc-macro */ }
Expand description

Include an annotated example file within the rustdoc of your library.

#![doc = include_as_doc!("examples/example.rs")]