Skip to content

Commit 45806c4

Browse files
committed
タイトルページの内容を最新版にアップデート
1 parent e8a2d45 commit 45806c4

File tree

1 file changed

+18
-55
lines changed

1 file changed

+18
-55
lines changed

src/title-page.md

Lines changed: 18 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -6,62 +6,15 @@
66
<!--
77
*by Steve Klabnik and Carol Nichols, with contributions from the Rust Community*
88
-->
9-
*著:Steve Klabnik, Carol Nichols, 貢献:Rustコミュニティ*
9+
*著:Steve KlabnikCarol Nichols貢献:Rustコミュニティ*
1010

1111
<!--
12-
This version of the text assumes you’re using Rust 1.41.0 or later with
13-
`edition="2018"` in *Cargo.toml* of all projects to use Rust 2018 Edition
14-
idioms. See the [“Installation” section of Chapter 1][install]
15-
to install or update Rust, and see the new [Appendix E][editions]
16-
for information on editions.
12+
This version of the text assumes you’re using Rust 1.58 (released 2022-01-13)
13+
or later. See the [“Installation” section of Chapter 1][install]
14+
to install or update Rust.
1715
-->
18-
このテキストのこの版では、Rust 2018 Editionのイディオムを使うため、Rust 1.41.0かそれ以降を使っており、すべてのプロジェクトの *Cargo.toml*`edition="2018"` とあることを前提にしています。
19-
Rustをインストールしたりアップデートするには[1章の「インストール」節][install]を、editionに関しては[付録E][editions]を読んでください。
20-
21-
<!--
22-
The 2018 Edition of the Rust language includes a number of improvements that
23-
make Rust more ergonomic and easier to learn. This iteration of the book
24-
contains a number of changes to reflect those improvements:
25-
-->
26-
Rust言語の2018 Editionには、Rustをもっと扱いやすく、学びやすくするための多くの改善点があります。
27-
それらの改善点を反映するために、今回の改版は多くの変更点を含んでいます:
28-
29-
<!--
30-
- Chapter 7, “Managing Growing Projects with Packages, Crates, and Modules,”
31-
has been mostly rewritten. The module system and the way paths work in the
32-
2018 Edition were made more consistent.
33-
- Chapter 10 has new sections titled “Traits as Parameters” and “Returning
34-
Types that Implement Traits” that explain the new `impl Trait` syntax.
35-
- Chapter 11 has a new section titled “Using `Result<T, E>` in Tests” that
36-
shows how to write tests that use the `?` operator.
37-
- The “Advanced Lifetimes” section in Chapter 19 was removed because compiler
38-
improvements have made the constructs in that section even rarer.
39-
- The previous Appendix D, “Macros,” has been expanded to include procedural
40-
macros and was moved to the “Macros” section in Chapter 19.
41-
- Appendix A, “Keywords,” also explains the new raw identifiers feature that
42-
enables code written in the 2015 Edition and the 2018 Edition to interoperate.
43-
- Appendix D is now titled “Useful Development Tools” and covers recently
44-
released tools that help you write Rust code.
45-
- We fixed a number of small errors and imprecise wording throughout the book.
46-
Thank you to the readers who reported them!
47-
-->
48-
- 7章「肥大化していくプロジェクトをパッケージ、クレート、モジュールを利用して管理する」はほとんど書き直されました。2018 Editionにおいてモジュールシステムとパスの仕組みはより一貫性を持つようになりました。
49-
- 10章には、新しい`impl Trait`構文を説明するために「引数としてのトレイト」と「トレイトを実装している型を返す」という新しい節があります。
50-
- 11章には、`?`演算子を使うテストの書き方を説明する「`Result<T, E>`をテストで使う」という新しい節があります。
51-
- 19章の「高度なライフタイム」節はなくなりました。コンパイラの改善により、この節の内容が現れることはいっそう稀になったからです。
52-
- 付録D「マクロ」は、手続き的マクロも説明するようになり、19章の「マクロ」節に移動しました。
53-
- 付録A「キーワード」では、2015 Editionと2018 Editionで書かれたコードを一緒に使えるようにしてくれる、生識別子という新しい機能も説明します。
54-
- 付録Dは "Useful Development Tools" という名前に変わり、Rustコードを書く手助けになる最近登場したツールを説明します。
55-
- 多くの細かい誤りや不正確な言葉遣いを直しました。報告してくれた読者の皆様、ありがとうございます!
56-
57-
<!--
58-
Note that any code in earlier iterations of *The Rust Programming Language*
59-
that compiled will continue to compile without `edition="2018"` in the
60-
project’s *Cargo.toml*, even as you update the Rust compiler version you’re
61-
using. That’s Rust’s backward compatibility guarantees at work!
62-
-->
63-
`edition="2018"`*Cargo.toml* に書かなければ、Rustコンパイラのバージョンをアップデートしたとしても、 *The Rust Programming Language* のこれまでの版のコードは変わらずコンパイルできるということを知っておいてください。
64-
Rustの後方互換性の約束は守られています!
16+
このテキストのこの版ではRust 1.58(2022年1月13日リリース)かそれ以降が使われていることを前提にしています。
17+
Rustをインストールしたりアップデートしたりするには[第1章の「インストール」節][install]を読んでください。
6518

6619
<!--
6720
The HTML format is available online at
@@ -70,14 +23,24 @@ and offline with installations of Rust made with `rustup`; run `rustup docs
7023
--book` to open.
7124
-->
7225
HTML版は[https://doc.rust-lang.org/stable/book/](https://doc.rust-lang.org/stable/book/)で公開されています。
73-
オフラインで見たい場合は、`rustup`でインストールしたRustを使って`rustup docs --book`としてください。
26+
オフラインのときは、`rustup`でインストールしたRustを使って`rustup docs --book`で開けます。
27+
28+
> 訳注:日本語のHTML版は[https://doc.rust-jp.rs/book-ja/](https://doc.rust-jp.rs/book-ja/)で公開されています。
29+
> `rustup`を使ってオフラインで読むことはできません。
30+
31+
<!--
32+
Several community [translations] are also available.
33+
-->
34+
また、コミュニティによるいくつかの[翻訳版][translations]もあります。
7435

7536
<!--
7637
This text is available in [paperback and ebook format from No Starch
7738
Press][nsprust].
7839
-->
79-
このテキストの[ペーパーバック版と電子書籍版はNo Starch出版][nsprust]から発売されています。
40+
このテキストの(英語版の)[ペーパーバック版と電子書籍版はNo Starch出版][nsprust]から発売されています。
41+
8042

8143
[install]: ch01-01-installation.html
8244
[editions]: appendix-05-editions.html
8345
[nsprust]: https://nostarch.com/rust
46+
[translations]: appendix-06-translation.html

0 commit comments

Comments
 (0)