about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-21 20:33:00 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-21 20:33:00 -0700
commit1ccc51ce3b746ee702ef875a90b53b1b06fd2bf8 (patch)
treeb73f0bc3d8a614d5621832801a4560d4274a8dcb /src
parent799ddba8dac2e6b6a7dc6927a7cc0b5e785deecb (diff)
doc: Fix some broken links
Diffstat (limited to 'src')
-rw-r--r--src/librustc/middle/ty.rs4
-rw-r--r--src/libstd/lib.rs2
-rw-r--r--src/libsyntax/attr.rs2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc/middle/ty.rs b/src/librustc/middle/ty.rs
index 517be1bde2f..3e2417f71b0 100644
--- a/src/librustc/middle/ty.rs
+++ b/src/librustc/middle/ty.rs
@@ -220,10 +220,10 @@ pub enum AutoRef {
     /// Convert from T to &T
     AutoPtr(Region, ast::Mutability),
 
-    /// Convert from ~[]/&[] to &[] (or str)
+    /// Convert from ~[]/&[] to &[] or str
     AutoBorrowVec(Region, ast::Mutability),
 
-    /// Convert from ~[]/&[] to &&[] (or str)
+    /// Convert from ~[]/&[] to &&[] or str
     AutoBorrowVecRef(Region, ast::Mutability),
 
     /// Convert from T to *T
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index b0d08c80fbc..8a4b7eb3a63 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -32,7 +32,7 @@
 //!
 //! ## Pervasive types
 //!
-//! The [`option`](option/index.html) and [`result`](result/index.html)
+//! The [`option`](option/index.html) and [`result`](../core/result/index.html)
 //! modules define optional and error-handling types, `Option` and `Result`.
 //! [`iter`](../core/iter/index.html) defines Rust's iterator protocol
 //! along with a wide variety of iterators.
diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs
index cf5163af717..304b5c19d51 100644
--- a/src/libsyntax/attr.rs
+++ b/src/libsyntax/attr.rs
@@ -336,7 +336,7 @@ pub fn test_cfg<AM: AttrMetaMethods, It: Iterator<AM>>
     no_cfgs || some_cfg_matches
 }
 
-/// Represents the #[deprecated="foo"] (etc) attributes.
+/// Represents the #[deprecated="foo"] and friends attributes.
 pub struct Stability {
     pub level: StabilityLevel,
     pub text: Option<InternedString>