[][src]Attribute Macro interpolate_name::interpolate_name

#[interpolate_name]

Rename the decorated function by appending _ and the provided specifier.

use interpolate_name::interpolate_name;

#[interpolate_name(spec)]
fn foo() {}

produces:

fn foo_spec() {}