foundry_evm

Macro call_inspectors

Source
macro_rules! call_inspectors {
    ([$($inspector:expr),+ $(,)?], |$id:ident $(,)?| $call:expr $(,)?) => { ... };
    (#[ret] [$($inspector:expr),+ $(,)?], |$id:ident $(,)?| $call:expr $(,)?) => { ... };
}
Expand description

Helper macro to call the same method on multiple inspectors without resorting to dynamic dispatch.