macro_rules! assert_nonnull {
($actual:expr) => { ... };
($actual:expr, $msg:expr) => { ... };
}Expand description
Asserts that the pointer is non-null and short-circuits on failure.
macro_rules! assert_nonnull {
($actual:expr) => { ... };
($actual:expr, $msg:expr) => { ... };
}Asserts that the pointer is non-null and short-circuits on failure.