We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 921cb1a commit 224ad67Copy full SHA for 224ad67
src/lib.rs
@@ -30,7 +30,7 @@ pub mod error;
30
fn null_error_check<T>(pointer: *const T) -> Result<(), crate::error::PointerError> {
31
if pointer.is_null() {
32
log::error!("Using a NULL pointer as an opaque pointer to Rust's data");
33
- return Err(crate::error::PointerError::NulPointer);
+ return Err(crate::error::PointerError::Null);
34
}
35
return Ok(());
36
0 commit comments