ucsi 0.1.0

SI-based unit typing system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// **Note:** Use the alias `ucsi::macros::unwrap::unwrap_option_const`.
/// 
/// This will be removed once `Option::unwrap` is const-able.
#[macro_export]
macro_rules! __impl_unwrap_option_const {
    ($op:expr) => {
        match $op {
            ::core::option::Option::Some(t) => t,
            ::core::option::Option::None => panic!("called `Option::unwrap()` on a `None` value")
        }
    };
}