Function generate_doc_tests

Source
pub fn generate_doc_tests<W>(config: Config, writer: &mut W) -> Result<()>
where W: Write,
Expand description

Generates a code from the given configuration.

This function is typically used from the inside of build.rs, in order to avoid constraints on macro calls.