easy-macros-add-code 1.0.1

Easy Macros support library
Documentation

Easy Macros

Crates.io Documentation License

Use the parent crate instead.

What is this?

Crates.io

#[add_code] injects statements at the start and/or end of a function or impl method body. Its main use case is keeping docify-generated examples clean while still adding setup/teardown or assertions for tests.