Macro mulch::assert_first_call

source ยท
pub macro assert_first_call {
    () => { ... },
    ($($arg:tt)+) => { ... },
}
Expand description

This macro should be called at the beginning of functions that create logic errors if they are called more than once. Most commonly this is used for initialization functions.