]> git.lizzy.rs Git - rust.git/commitdiff
doc: Fix some broken links
authorAlex Crichton <alex@alexcrichton.com>
Thu, 22 May 2014 03:33:00 +0000 (20:33 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 22 May 2014 03:33:00 +0000 (20:33 -0700)
src/librustc/middle/ty.rs
src/libstd/lib.rs
src/libsyntax/attr.rs

index 517be1bde2f3a980ecb45115a643cc3d789bbb40..3e2417f71b05467196d32ec57695de34b7791264 100644 (file)
@@ -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
index b0d08c80fbc02d25e46279460fc2955f2342b2ad..8a4b7eb3a63a0a1043b4e444d54101bd43633914 100644 (file)
@@ -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.
index cf5163af7170fd66f5113f8a98f1313bd4b08007..304b5c19d51dc4129509546a07de8fd0cfb02b36 100644 (file)
@@ -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>