diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-09 13:57:37 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-09 14:42:12 -0700 |
| commit | 620b4352f28d58801d82d58faa0a71f75ad9087f (patch) | |
| tree | cd7cb4a814f38bca37d90c3e900d3b0e3b4aa969 /src/libstd | |
| parent | 1ba4971ab86ea36d0379f566513fd368b48e7bf9 (diff) | |
| download | rust-620b4352f28d58801d82d58faa0a71f75ad9087f.tar.gz rust-620b4352f28d58801d82d58faa0a71f75ad9087f.zip | |
doc: Fix some broken links
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 12 | ||||
| -rw-r--r-- | src/libstd/result.rs | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 72d41ae1dd2..ae2436ad3b4 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -16,11 +16,11 @@ //! //! ## Intrinsic types and operations //! -//! The [`ptr`](ptr/index.html), [`mem`](mem/index.html), -//! and [`cast`](cast/index.html) modules deal with unsafe pointers, +//! The [`ptr`](../core/ptr/index.html), [`mem`](../core/mem/index.html), +//! and [`cast`](../core/cast/index.html) modules deal with unsafe pointers, //! memory manipulation, and coercion. -//! [`kinds`](kinds/index.html) defines the special built-in traits, -//! and [`raw`](raw/index.html) the runtime representation of Rust types. +//! [`kinds`](../core/kinds/index.html) defines the special built-in traits, +//! and [`raw`](../core/raw/index.html) the runtime representation of Rust types. //! These are some of the lowest-level building blocks of Rust //! abstractions. //! @@ -35,9 +35,9 @@ //! //! The [`option`](option/index.html) and [`result`](result/index.html) //! modules define optional and error-handling types, `Option` and `Result`. -//! [`iter`](iter/index.html) defines Rust's iterator protocol +//! [`iter`](../core/iter/index.html) defines Rust's iterator protocol //! along with a wide variety of iterators. -//! [`Cell` and `RefCell`](cell/index.html) are for creating types that +//! [`Cell` and `RefCell`](../core/cell/index.html) are for creating types that //! manage their own mutability. //! //! ## Vectors, slices and strings diff --git a/src/libstd/result.rs b/src/libstd/result.rs index cc9e6684d28..ecbc164590b 100644 --- a/src/libstd/result.rs +++ b/src/libstd/result.rs @@ -226,8 +226,8 @@ //! similar and complementary: they are often employed to indicate a //! lack of a return value; and they are trivially converted between //! each other, so `Result`s are often handled by first converting to -//! `Option` with the [`ok`](enum.Result.html#method.ok) and -//! [`err`](enum.Result.html#method.ok) methods. +//! `Option` with the [`ok`](../../core/result/enum.Result.html#method.ok) and +//! [`err`](../../core/result/enum.Result.html#method.ok) methods. //! //! Whereas `Option` only indicates the lack of a value, `Result` is //! specifically for error reporting, and carries with it an error |
