mulch

Macro 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.