Skip to main content

aver_list_match

Macro aver_list_match 

Source
macro_rules! aver_list_match {
    ($list:expr, [] => $empty:expr, [$head:ident, $tail:ident] => $cons:expr) => { ... };
}
Expand description

Pattern-match on an AverList: empty and cons (head, tail) arms.