Skip to content

Replace first edition Rust book links with second edition#491

Merged
coriolinus merged 3 commits intoexercism:masterfrom
petertseng:book
Apr 8, 2018
Merged

Replace first edition Rust book links with second edition#491
coriolinus merged 3 commits intoexercism:masterfrom
petertseng:book

Conversation

@petertseng
Copy link
Copy Markdown
Member

I think all first edition chapters have second edition equivalents. Rationale in individual commit messages.

If all additions are accepted, these three commits collectively close #356.

The goal was to explain that you can derive some traits. The Derivable
Traits section of the book also serves this purpose, as it explains that
`derive` automatically implements a trait, and enumerates the traits
that you can derive.

Note that https://doc.rust-lang.org/book/traits.html#deriving only links
to two pages which don't seem like the best choice for this:

* https://doc.rust-lang.org/book/second-edition/ch10-02-traits.html
* https://doc.rust-lang.org/book/second-edition/ch19-03-advanced-traits.html

Alternative to consider: Rust By Example (now a part of
doc.rust-lang.org as of 1.25).
https://doc.rust-lang.org/rust-by-example/trait/derive.html

We'll choose the book unless there is a strong reason to choose another.

Part of #356
Visiting https://doc.rust-lang.org/book/macros.html leads to the
suggestions:

* https://doc.rust-lang.org/reference/macros-by-example.html
* https://doc.rust-lang.org/book/second-edition/appendix-04-macros.html

In addition, we may consider Rust By Example (now a part of the docs as
of 1.25):
https://doc.rust-lang.org/rust-by-example/macros.html

We'll choose the book unless there is a strong reason to prefer another.

Part of #356
@coriolinus coriolinus merged commit 516fcb6 into exercism:master Apr 8, 2018
@petertseng petertseng deleted the book branch April 8, 2018 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace links to first edition of the Rust book with second edition

3 participants