Skip to content

Commit

Permalink
Remove Incorrect Link from std::ptr::null Docs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
killercup committed Apr 14, 2015
1 parent 8415fa2 commit cbe9a1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libcore/ptr.rs
Expand Up @@ -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
//!
Expand Down

0 comments on commit cbe9a1a

Please sign in to comment.