1 2 3 4 5 6 7 8 9 10 11
// Copyright 2020 nest.land core team. #[macro_export] macro_rules! unwrap_or_return { ( $e:expr ) => { match $e { Some(x) => x, None => return, } }; }
1 2 3 4 5 6 7 8 9 10 11
// Copyright 2020 nest.land core team. #[macro_export] macro_rules! unwrap_or_return { ( $e:expr ) => { match $e { Some(x) => x, None => return, } }; }