diff --git a/src/send-and-sync.md b/src/send-and-sync.md index bc75ea1..97e8b24 100644 --- a/src/send-and-sync.md +++ b/src/send-and-sync.md @@ -108,7 +108,7 @@ impl Carton { let mut ptr = unsafe { // Safety: memptr is dereferenceable because we created it from a // reference and have exclusive access. - NonNull::new(memptr.cast::()) + ptr::NonNull::new(memptr.cast::()) .expect("Guaranteed non-null if posix_memalign returns 0") };