about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPascal Hertleif <killercup@gmail.com>2015-04-14 23:22:37 +0200
committerPascal Hertleif <killercup@gmail.com>2015-04-14 23:22:37 +0200
commitcbe9a1a6f49dad61dac0613920631eb63a004823 (patch)
tree1759cf7257e34f153e2fc458c959c96c1a3e1fd3
parent8415fa27877a4309a79b08c75a52eb4c3546b7a5 (diff)
downloadrust-cbe9a1a6f49dad61dac0613920631eb63a004823.tar.gz
rust-cbe9a1a6f49dad61dac0613920631eb63a004823.zip
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.
-rw-r--r--src/libcore/ptr.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index a622ef78a21..fdd96e64e4a 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -15,9 +15,9 @@
 //! Working with unsafe pointers in Rust is uncommon,
 //! typically limited to a few patterns.
 //!
-//! 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.
+//! Use the `null` function 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.
 //!
 //! # Common ways to create unsafe pointers
 //!