--> intrusive-rs/src/unsafe_ref.rs:41:26
|
41 | UnsafeRef { ptr: NonZero::new(val as *mut _) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::nonzero::NonZero`, found enum `core::option::Option`
|
= note: expected type `core::nonzero::NonZero<*mut T>`
found type `core::option::Option<core::nonzero::NonZero<*mut _>>`
= help: here are some functions which might fulfill your needs:
- .unwrap()