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