Skip to content

Commit cbe1450

Browse files
committed
ci: generate pages at e94c537 [ci skip]
1 parent e94c537 commit cbe1450

File tree

5 files changed

+50
-164
lines changed

5 files changed

+50
-164
lines changed

docs/index.html

Lines changed: 16 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -178,73 +178,35 @@ <h1 id="the-rust-programming-language-日本語版"><a class="header" href="#the
178178
<!--
179179
*by Steve Klabnik and Carol Nichols, with contributions from the Rust Community*
180180
-->
181-
<p><em>著:Steve Klabnik, Carol Nichols, 貢献:Rustコミュニティ</em></p>
181+
<p><em>著:Steve KlabnikCarol Nichols貢献:Rustコミュニティ</em></p>
182182
<!--
183-
This version of the text assumes you’re using Rust 1.41.0 or later with
184-
`edition="2018"` in *Cargo.toml* of all projects to use Rust 2018 Edition
185-
idioms. See the [“Installation” section of Chapter 1][install]
186-
to install or update Rust, and see the new [Appendix E][editions]
187-
for information on editions.
183+
This version of the text assumes you’re using Rust 1.58 (released 2022-01-13)
184+
or later. See the [“Installation” section of Chapter 1][install]
185+
to install or update Rust.
188186
-->
189-
<p>このテキストのこの版では、Rust 2018 Editionのイディオムを使うため、Rust 1.41.0かそれ以降を使っており、すべてのプロジェクトの <em>Cargo.toml</em><code>edition=&quot;2018&quot;</code> とあることを前提にしています。
190-
Rustをインストールしたりアップデートするには<a href="ch01-01-installation.html">1章の「インストール」節</a>を、editionに関しては<a href="appendix-05-editions.html">付録E</a>を読んでください。</p>
191-
<!--
192-
The 2018 Edition of the Rust language includes a number of improvements that
193-
make Rust more ergonomic and easier to learn. This iteration of the book
194-
contains a number of changes to reflect those improvements:
195-
-->
196-
<p>Rust言語の2018 Editionには、Rustをもっと扱いやすく、学びやすくするための多くの改善点があります。
197-
それらの改善点を反映するために、今回の改版は多くの変更点を含んでいます:</p>
198-
<!--
199-
- Chapter 7, “Managing Growing Projects with Packages, Crates, and Modules,”
200-
has been mostly rewritten. The module system and the way paths work in the
201-
2018 Edition were made more consistent.
202-
- Chapter 10 has new sections titled “Traits as Parameters” and “Returning
203-
Types that Implement Traits” that explain the new `impl Trait` syntax.
204-
- Chapter 11 has a new section titled “Using `Result<T, E>` in Tests” that
205-
shows how to write tests that use the `?` operator.
206-
- The “Advanced Lifetimes” section in Chapter 19 was removed because compiler
207-
improvements have made the constructs in that section even rarer.
208-
- The previous Appendix D, “Macros,” has been expanded to include procedural
209-
macros and was moved to the “Macros” section in Chapter 19.
210-
- Appendix A, “Keywords,” also explains the new raw identifiers feature that
211-
enables code written in the 2015 Edition and the 2018 Edition to interoperate.
212-
- Appendix D is now titled “Useful Development Tools” and covers recently
213-
released tools that help you write Rust code.
214-
- We fixed a number of small errors and imprecise wording throughout the book.
215-
Thank you to the readers who reported them!
216-
-->
217-
<ul>
218-
<li>7章「肥大化していくプロジェクトをパッケージ、クレート、モジュールを利用して管理する」はほとんど書き直されました。2018 Editionにおいてモジュールシステムとパスの仕組みはより一貫性を持つようになりました。</li>
219-
<li>10章には、新しい<code>impl Trait</code>構文を説明するために「引数としてのトレイト」と「トレイトを実装している型を返す」という新しい節があります。</li>
220-
<li>11章には、<code>?</code>演算子を使うテストの書き方を説明する「<code>Result&lt;T, E&gt;</code>をテストで使う」という新しい節があります。</li>
221-
<li>19章の「高度なライフタイム」節はなくなりました。コンパイラの改善により、この節の内容が現れることはいっそう稀になったからです。</li>
222-
<li>付録D「マクロ」は、手続き的マクロも説明するようになり、19章の「マクロ」節に移動しました。</li>
223-
<li>付録A「キーワード」では、2015 Editionと2018 Editionで書かれたコードを一緒に使えるようにしてくれる、生識別子という新しい機能も説明します。</li>
224-
<li>付録Dは &quot;Useful Development Tools&quot; という名前に変わり、Rustコードを書く手助けになる最近登場したツールを説明します。</li>
225-
<li>多くの細かい誤りや不正確な言葉遣いを直しました。報告してくれた読者の皆様、ありがとうございます!</li>
226-
</ul>
227-
<!--
228-
Note that any code in earlier iterations of *The Rust Programming Language*
229-
that compiled will continue to compile without `edition="2018"` in the
230-
project’s *Cargo.toml*, even as you update the Rust compiler version you’re
231-
using. That’s Rust’s backward compatibility guarantees at work!
232-
-->
233-
<p><code>edition=&quot;2018&quot;</code><em>Cargo.toml</em> に書かなければ、Rustコンパイラのバージョンをアップデートしたとしても、 <em>The Rust Programming Language</em> のこれまでの版のコードは変わらずコンパイルできるということを知っておいてください。
234-
Rustの後方互換性の約束は守られています!</p>
187+
<p>このテキストのこの版ではRust 1.58(2022年1月13日リリース)かそれ以降が使われていることを前提にしています。
188+
Rustをインストールしたりアップデートしたりするには<a href="ch01-01-installation.html">第1章の「インストール」節</a>を読んでください。</p>
235189
<!--
236190
The HTML format is available online at
237191
[https://doc.rust-lang.org/stable/book/](https://doc.rust-lang.org/stable/book/)
238192
and offline with installations of Rust made with `rustup`; run `rustup docs
239193
--book` to open.
240194
-->
241195
<p>HTML版は<a href="https://doc.rust-lang.org/stable/book/">https://doc.rust-lang.org/stable/book/</a>で公開されています。
242-
オフラインで見たい場合は、<code>rustup</code>でインストールしたRustを使って<code>rustup docs --book</code>としてください。</p>
196+
オフラインのときは、<code>rustup</code>でインストールしたRustを使って<code>rustup docs --book</code>で開けます。</p>
197+
<blockquote>
198+
<p>訳注:日本語のHTML版は<a href="https://doc.rust-jp.rs/book-ja/">https://doc.rust-jp.rs/book-ja/</a>で公開されています。
199+
<code>rustup</code>を使ってオフラインで読むことはできません。</p>
200+
</blockquote>
201+
<!--
202+
Several community [translations] are also available.
203+
-->
204+
<p>また、コミュニティによるいくつかの<a href="appendix-06-translation.html">翻訳版</a>もあります。</p>
243205
<!--
244206
This text is available in [paperback and ebook format from No Starch
245207
Press][nsprust].
246208
-->
247-
<p>このテキストの<a href="https://nostarch.com/rust">ペーパーバック版と電子書籍版はNo Starch出版</a>から発売されています。</p>
209+
<p>このテキストの(英語版の)<a href="https://nostarch.com/rust">ペーパーバック版と電子書籍版はNo Starch出版</a>から発売されています。</p>
248210

249211
</main>
250212

docs/print.html

Lines changed: 16 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -180,73 +180,35 @@ <h1 id="the-rust-programming-language-日本語版"><a class="header" href="#the
180180
<!--
181181
*by Steve Klabnik and Carol Nichols, with contributions from the Rust Community*
182182
-->
183-
<p><em>著:Steve Klabnik, Carol Nichols, 貢献:Rustコミュニティ</em></p>
184-
<!--
185-
This version of the text assumes you’re using Rust 1.41.0 or later with
186-
`edition="2018"` in *Cargo.toml* of all projects to use Rust 2018 Edition
187-
idioms. See the [“Installation” section of Chapter 1][install]
188-
to install or update Rust, and see the new [Appendix E][editions]
189-
for information on editions.
190-
-->
191-
<p>このテキストのこの版では、Rust 2018 Editionのイディオムを使うため、Rust 1.41.0かそれ以降を使っており、すべてのプロジェクトの <em>Cargo.toml</em> に <code>edition=&quot;2018&quot;</code> とあることを前提にしています。
192-
Rustをインストールしたりアップデートするには<a href="ch01-01-installation.html">1章の「インストール」節</a>を、editionに関しては<a href="appendix-05-editions.html">付録E</a>を読んでください。</p>
193-
<!--
194-
The 2018 Edition of the Rust language includes a number of improvements that
195-
make Rust more ergonomic and easier to learn. This iteration of the book
196-
contains a number of changes to reflect those improvements:
197-
-->
198-
<p>Rust言語の2018 Editionには、Rustをもっと扱いやすく、学びやすくするための多くの改善点があります。
199-
それらの改善点を反映するために、今回の改版は多くの変更点を含んでいます:</p>
200-
<!--
201-
- Chapter 7, “Managing Growing Projects with Packages, Crates, and Modules,”
202-
has been mostly rewritten. The module system and the way paths work in the
203-
2018 Edition were made more consistent.
204-
- Chapter 10 has new sections titled “Traits as Parameters” and “Returning
205-
Types that Implement Traits” that explain the new `impl Trait` syntax.
206-
- Chapter 11 has a new section titled “Using `Result<T, E>` in Tests” that
207-
shows how to write tests that use the `?` operator.
208-
- The “Advanced Lifetimes” section in Chapter 19 was removed because compiler
209-
improvements have made the constructs in that section even rarer.
210-
- The previous Appendix D, “Macros,” has been expanded to include procedural
211-
macros and was moved to the “Macros” section in Chapter 19.
212-
- Appendix A, “Keywords,” also explains the new raw identifiers feature that
213-
enables code written in the 2015 Edition and the 2018 Edition to interoperate.
214-
- Appendix D is now titled “Useful Development Tools” and covers recently
215-
released tools that help you write Rust code.
216-
- We fixed a number of small errors and imprecise wording throughout the book.
217-
Thank you to the readers who reported them!
218-
-->
219-
<ul>
220-
<li>7章「肥大化していくプロジェクトをパッケージ、クレート、モジュールを利用して管理する」はほとんど書き直されました。2018 Editionにおいてモジュールシステムとパスの仕組みはより一貫性を持つようになりました。</li>
221-
<li>10章には、新しい<code>impl Trait</code>構文を説明するために「引数としてのトレイト」と「トレイトを実装している型を返す」という新しい節があります。</li>
222-
<li>11章には、<code>?</code>演算子を使うテストの書き方を説明する「<code>Result&lt;T, E&gt;</code>をテストで使う」という新しい節があります。</li>
223-
<li>19章の「高度なライフタイム」節はなくなりました。コンパイラの改善により、この節の内容が現れることはいっそう稀になったからです。</li>
224-
<li>付録D「マクロ」は、手続き的マクロも説明するようになり、19章の「マクロ」節に移動しました。</li>
225-
<li>付録A「キーワード」では、2015 Editionと2018 Editionで書かれたコードを一緒に使えるようにしてくれる、生識別子という新しい機能も説明します。</li>
226-
<li>付録Dは &quot;Useful Development Tools&quot; という名前に変わり、Rustコードを書く手助けになる最近登場したツールを説明します。</li>
227-
<li>多くの細かい誤りや不正確な言葉遣いを直しました。報告してくれた読者の皆様、ありがとうございます!</li>
228-
</ul>
183+
<p><em>著:Steve Klabnik、Carol Nichols、貢献:Rustコミュニティ</em></p>
229184
<!--
230-
Note that any code in earlier iterations of *The Rust Programming Language*
231-
that compiled will continue to compile without `edition="2018"` in the
232-
project’s *Cargo.toml*, even as you update the Rust compiler version you’re
233-
using. That’s Rust’s backward compatibility guarantees at work!
185+
This version of the text assumes you’re using Rust 1.58 (released 2022-01-13)
186+
or later. See the [“Installation” section of Chapter 1][install]
187+
to install or update Rust.
234188
-->
235-
<p><code>edition=&quot;2018&quot;</code> を <em>Cargo.toml</em> に書かなければ、Rustコンパイラのバージョンをアップデートしたとしても、 <em>The Rust Programming Language</em> のこれまでの版のコードは変わらずコンパイルできるということを知っておいてください
236-
Rustの後方互換性の約束は守られています!</p>
189+
<p>このテキストのこの版ではRust 1.58(2022年1月13日リリース)かそれ以降が使われていることを前提にしています
190+
Rustをインストールしたりアップデートしたりするには<a href="ch01-01-installation.html">第1章の「インストール」節</a>を読んでください。</p>
237191
<!--
238192
The HTML format is available online at
239193
[https://doc.rust-lang.org/stable/book/](https://doc.rust-lang.org/stable/book/)
240194
and offline with installations of Rust made with `rustup`; run `rustup docs
241195
--book` to open.
242196
-->
243197
<p>HTML版は<a href="https://doc.rust-lang.org/stable/book/">https://doc.rust-lang.org/stable/book/</a>で公開されています。
244-
オフラインで見たい場合は、<code>rustup</code>でインストールしたRustを使って<code>rustup docs --book</code>としてください。</p>
198+
オフラインのときは、<code>rustup</code>でインストールしたRustを使って<code>rustup docs --book</code>で開けます。</p>
199+
<blockquote>
200+
<p>訳注:日本語のHTML版は<a href="https://doc.rust-jp.rs/book-ja/">https://doc.rust-jp.rs/book-ja/</a>で公開されています。
201+
<code>rustup</code>を使ってオフラインで読むことはできません。</p>
202+
</blockquote>
203+
<!--
204+
Several community [translations] are also available.
205+
-->
206+
<p>また、コミュニティによるいくつかの<a href="appendix-06-translation.html">翻訳版</a>もあります。</p>
245207
<!--
246208
This text is available in [paperback and ebook format from No Starch
247209
Press][nsprust].
248210
-->
249-
<p>このテキストの<a href="https://nostarch.com/rust">ペーパーバック版と電子書籍版はNo Starch出版</a>から発売されています。</p>
211+
<p>このテキストの(英語版の)<a href="https://nostarch.com/rust">ペーパーバック版と電子書籍版はNo Starch出版</a>から発売されています。</p>
250212
<div id="chapter_begin" style="break-before: page; page-break-before: always;"></div><!--
251213
# Foreword
252214
-->

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/searchindex.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)