about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-04-15 17:26:07 -0400
committerSteve Klabnik <steve@steveklabnik.com>2015-04-15 17:26:07 -0400
commit71156035cc2a97ee2e0fac0db5634dc34ba5ed13 (patch)
tree14bfdbc65d79d1336571dfd8a32126dcfe14d3de /src/libcore
parent031619f5af9a2d538f1a83813ec5d7c799bdd489 (diff)
parentcbe9a1a6f49dad61dac0613920631eb63a004823 (diff)
downloadrust-71156035cc2a97ee2e0fac0db5634dc34ba5ed13.tar.gz
rust-71156035cc2a97ee2e0fac0db5634dc34ba5ed13.zip
Rollup merge of #24435 - killercup:patch-9, r=steveklabnik
The link works on the `std/ptr/index.html` docs page, but not the `std/primitive.pointer.html` page. Instead of leaving it half-broken, it is removed.

I tried fixing this in #24432, but @alexcrichton mentioned that this doc string was used in two places (with different base paths unfortunately).

r? @alexcrichton 
Diffstat (limited to 'src/libcore')
-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 9a165a2e317..0e9570df09d 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
 //!