rustool 0.3.20

Personal toolbox for my Rust projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Return the name of the first None value.
#[macro_export]
macro_rules! all_some {
    ( $($value:expr),* ) => {{
        $(
            if $value.is_none() {
                Some(stringify!($value).to_string())
            } else
        )*
        { None }
    }}
}