about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGary M. Josack <gary@byoteki.com>2015-03-26 09:31:48 -0700
committerGary M. Josack <gary@byoteki.com>2015-03-26 14:46:06 -0700
commit5123bf40a115dd38802612dbdca9b0974c677e4e (patch)
treee82200fd593f28a04b9f503b7f5b2f3658fc22d5
parent1501f33e76f6f9621aa08fb0cbbc5f85a5ac7f0f (diff)
downloadrust-5123bf40a115dd38802612dbdca9b0974c677e4e.tar.gz
rust-5123bf40a115dd38802612dbdca9b0974c677e4e.zip
Update docs to fix various 404s
Found a few 404s that seemed like simple fixes:

The Result docs use old_io Writer as an example. Fix the link to old_io Writer. There's probably an effort to update the example away from a deprecated api but this was a simple fix.

rustc/plugin was pointing at the old guide and it was a broken link anyways (plugin vs plugins). Point at the book instead.

The main page of the API docs referenced c_{str,vec}. Looks like these were deleted in 25d5a3a19423fee01787de87a56d185dd4e0a4e7. Point at ffi docs instead.
-rw-r--r--src/libcore/result.rs2
-rw-r--r--src/librustc/plugin/mod.rs2
-rw-r--r--src/libstd/lib.rs5
3 files changed, 4 insertions, 5 deletions
diff --git a/src/libcore/result.rs b/src/libcore/result.rs
index 62e1bcd827a..ee5bb821798 100644
--- a/src/libcore/result.rs
+++ b/src/libcore/result.rs
@@ -92,7 +92,7 @@
 //! useful value.
 //!
 //! Consider the `write_line` method defined for I/O types
-//! by the [`Writer`](../io/trait.Writer.html) trait:
+//! by the [`Writer`](../old_io/trait.Writer.html) trait:
 //!
 //! ```
 //! # #![feature(old_io)]
diff --git a/src/librustc/plugin/mod.rs b/src/librustc/plugin/mod.rs
index 711ed43fe06..3162c4fc570 100644
--- a/src/librustc/plugin/mod.rs
+++ b/src/librustc/plugin/mod.rs
@@ -47,7 +47,7 @@
 //! #![plugin(myplugin)]
 //! ```
 //!
-//! See [the compiler plugin guide](../../guide-plugin.html)
+//! See the [Plugins Chapter](../../book/plugins.html) of the book
 //! for more examples.
 
 pub use self::registry::Registry;
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index cca6bb747d4..8c32791384c 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -67,9 +67,8 @@
 //! module encapsulates the platform-specific rules for dealing
 //! with file paths.
 //!
-//! `std` also includes modules for interoperating with the
-//! C language: [`c_str`](c_str/index.html) and
-//! [`c_vec`](c_vec/index.html).
+//! `std` also includes the [`ffi`](ffi/index.html) module for interoperating
+//! with the C language.
 //!
 //! ## Concurrency, I/O, and the runtime
 //!