Skip to content

Commit f51e64f

Browse files
committed
Point "deref coercions" links to new book
Currently the link on doc.rust-lang.org is semi-broken; it links to a page that links to the exact page in the first edition in the book, or to the index of the second edition of the book. If the second editions is the recommended one now, we should point the links at that one. It seems that in the mean time, the links have been updated to point directly to the first edition of the book, but that hasn't made it onto the stable channel yet. By the time this commit makes it onto the stable channel, the second edition of the book should be complete enough. At least the part about deref coercions is.
1 parent adbce60 commit f51e64f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
//! [`use`]: ../book/first-edition/crates-and-modules.html#importing-modules-with-use
204204
//! [crate root]: ../book/first-edition/crates-and-modules.html#basic-terminology-crates-and-modules
205205
//! [crates.io]: https://crates.io
206-
//! [deref coercions]: ../book/first-edition/deref-coercions.html
206+
//! [deref coercions]: ../book/second-edition/ch15-02-deref.html#implicit-deref-coercions-with-functions-and-methods
207207
//! [files]: fs/struct.File.html
208208
//! [multithreading]: thread/index.html
209209
//! [other]: #what-is-in-the-standard-library-documentation

0 commit comments

Comments
 (0)