Skip to content

Commit cbe9a1a

Browse files
committed
Remove Incorrect Link from std::ptr::null Docs
The link works on the std::ptr docs page, but not the primitive.ptr.html page. Instead of leaving it half-broken, it is removed.
1 parent 8415fa2 commit cbe9a1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcore/ptr.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
//! Working with unsafe pointers in Rust is uncommon,
1616
//! typically limited to a few patterns.
1717
//!
18-
//! Use the [`null` function](fn.null.html) to create null pointers, and
19-
//! the `is_null` method of the `*const T` type to check for null.
20-
//! The `*const T` type also defines the `offset` method, for pointer math.
18+
//! Use the `null` function to create null pointers, and the `is_null` method
19+
//! of the `*const T` type to check for null. The `*const T` type also defines
20+
//! the `offset` method, for pointer math.
2121
//!
2222
//! # Common ways to create unsafe pointers
2323
//!

0 commit comments

Comments
 (0)