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")]include_as_doc!() { /* proc-macro */ }Include an annotated example file within the rustdoc of your library.
#![doc = include_as_doc!("examples/example.rs")]