Skip to main content

assert_nonnull

Macro assert_nonnull 

Source
macro_rules! assert_nonnull {
    ($actual:expr) => { ... };
    ($actual:expr, $msg:expr) => { ... };
}
Expand description

Asserts that the pointer is non-null and short-circuits on failure.