Skip to main content

expect_nonnull

Macro expect_nonnull 

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

Asserts that the pointer is non-null, but does not short-circuit on failure.