1 2 3 4 5 6
#[macro_export] macro_rules! chain { ($first:expr $(, $rest:expr)+ $(,)?) => {{ $first $(.chain($rest))* }}; }