Macro aoko::l

source · []
macro_rules! l {
    ($($a:ident $(:$t:ty)? = $b:expr);* $(;)?) => { ... };
}
Expand description

Abbr. of let

Examples

use aoko::l;
 
l!(foo = 233; bar: u16 = 666;);
assert_eq!((233, 666), (foo, bar));