We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0aad7d commit 3f52d71Copy full SHA for 3f52d71
src/libcore/ptr.rs
@@ -15,12 +15,9 @@
15
//! Working with unsafe pointers in Rust is uncommon,
16
//! typically limited to a few patterns.
17
//!
18
-//! Use the [`null` function](fn.null.html) to create null pointers,
19
-//! the [`is_null`](trait.PtrExt.html#tymethod.is_null)
20
-//! methods of the [`PtrExt` trait](trait.PtrExt.html) to check for null.
21
-//! The `PtrExt` trait is imported by the prelude, so `is_null` etc.
22
-//! work everywhere. The `PtrExt` also defines the `offset` method,
23
-//! for pointer math.
+//! Use the [`null` function](fn.null.html) to create null pointers, and
+//! the `is_null` method of the `*const T` type to check for null.
+//! The `*const T` type also defines the `offset` method, for pointer math.
24
25
//! # Common ways to create unsafe pointers
26
0 commit comments