diff options
| author | Wonwoo Choi <chwo9843@gmail.com> | 2017-06-13 01:30:08 +0900 |
|---|---|---|
| committer | Wonwoo Choi <chwo9843@gmail.com> | 2017-06-15 00:04:00 +0900 |
| commit | 3cb78259862d37da082f628af3ccb54edf264fd0 (patch) | |
| tree | 33c0f28cfa4782dc5d9eb27e7b3faacacd5fe29b /src/libcore | |
| parent | 554c685b0b3b25b7aa752717edf50b8d6bcab7a0 (diff) | |
Update older URLs pointing to the first edition of the Book
`compiler-plugins.html` is moved into the Unstable Book. Explanation is slightly modified to match the change.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/borrow.rs | 2 | ||||
| -rw-r--r-- | src/libcore/convert.rs | 4 | ||||
| -rw-r--r-- | src/libcore/macros.rs | 2 | ||||
| -rw-r--r-- | src/libcore/marker.rs | 4 | ||||
| -rw-r--r-- | src/libcore/ops/deref.rs | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/libcore/borrow.rs b/src/libcore/borrow.rs index 3d223465c88..61558034e63 100644 --- a/src/libcore/borrow.rs +++ b/src/libcore/borrow.rs @@ -31,7 +31,7 @@ /// `Borrow` is very similar to, but different than, `AsRef`. See /// [the book][book] for more. /// -/// [book]: ../../book/borrow-and-asref.html +/// [book]: ../../book/first-edition/borrow-and-asref.html #[stable(feature = "rust1", since = "1.0.0")] pub trait Borrow<Borrowed: ?Sized> { /// Immutably borrows from an owned value. diff --git a/src/libcore/convert.rs b/src/libcore/convert.rs index 11a360ff900..6f3c3863fae 100644 --- a/src/libcore/convert.rs +++ b/src/libcore/convert.rs @@ -71,7 +71,7 @@ use str::FromStr; /// /// See [the book][book] for a more detailed comparison. /// -/// [book]: ../../book/borrow-and-asref.html +/// [book]: ../../book/first-edition/borrow-and-asref.html /// [`Borrow`]: ../../std/borrow/trait.Borrow.html /// /// **Note: this trait must not fail**. If the conversion can fail, use a @@ -305,7 +305,7 @@ pub trait Into<T>: Sized { /// [`String`]: ../../std/string/struct.String.html /// [`Into<U>`]: trait.Into.html /// [`from`]: trait.From.html#tymethod.from -/// [book]: ../../book/error-handling.html +/// [book]: ../../book/first-edition/error-handling.html #[stable(feature = "rust1", since = "1.0.0")] pub trait From<T>: Sized { /// Performs the conversion. diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs index d68fad4972c..91ee064aaba 100644 --- a/src/libcore/macros.rs +++ b/src/libcore/macros.rs @@ -54,7 +54,7 @@ macro_rules! panic { /// /// [`panic!`]: macro.panic.html /// [`debug_assert!`]: macro.debug_assert.html -/// [testing]: ../book/testing.html +/// [testing]: ../book/first-edition/testing.html /// /// # Examples /// diff --git a/src/libcore/marker.rs b/src/libcore/marker.rs index 05df84708e0..3bed425943f 100644 --- a/src/libcore/marker.rs +++ b/src/libcore/marker.rs @@ -85,7 +85,7 @@ impl<T: ?Sized> !Send for *mut T { } /// // be made into an object /// ``` /// -/// [trait object]: ../../book/trait-objects.html +/// [trait object]: ../../book/first-edition/trait-objects.html #[stable(feature = "rust1", since = "1.0.0")] #[lang = "sized"] #[rustc_on_unimplemented = "`{Self}` does not have a constant size known at compile-time"] @@ -493,7 +493,7 @@ macro_rules! impls{ /// types. We track the Rust type using a phantom type parameter on /// the struct `ExternalResource` which wraps a handle. /// -/// [FFI]: ../../book/ffi.html +/// [FFI]: ../../book/first-edition/ffi.html /// /// ``` /// # #![allow(dead_code)] diff --git a/src/libcore/ops/deref.rs b/src/libcore/ops/deref.rs index 3f4dabbbc0c..18cf20ac411 100644 --- a/src/libcore/ops/deref.rs +++ b/src/libcore/ops/deref.rs @@ -13,7 +13,7 @@ /// /// `Deref` also enables ['`Deref` coercions'][coercions]. /// -/// [coercions]: ../../book/deref-coercions.html +/// [coercions]: ../../book/first-edition/deref-coercions.html /// /// # Examples /// @@ -71,7 +71,7 @@ impl<'a, T: ?Sized> Deref for &'a mut T { /// /// `DerefMut` also enables ['`Deref` coercions'][coercions]. /// -/// [coercions]: ../../book/deref-coercions.html +/// [coercions]: ../../book/first-edition/deref-coercions.html /// /// # Examples /// |
