From: Alex Crichton Date: Thu, 22 May 2014 03:33:00 +0000 (-0700) Subject: doc: Fix some broken links X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=1ccc51ce3b746ee702ef875a90b53b1b06fd2bf8;p=rust.git doc: Fix some broken links --- 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> 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