@@ -310,17 +310,15 @@ <h3 id="rustプログラムの解剖"><a class="header" href="#rustプログラ
310310< p > また、関数の本体が波括弧(< code > {}</ code > )に包まれていることにも注目してください。Rustでは、全ての関数本体の周りにこれらが必要になります。
311311スペースを1つあけて、開き波括弧を関数宣言と同じ行に配置するのがいいスタイルです。</ p >
312312<!--
313- At the time of this writing, an automatic formatter tool called `rustfmt` is
314- under development. If you want to stick to a standard style across Rust
315- projects, `rustfmt` will format your code in a particular style. The Rust team
316- plans to eventually include this tool with the standard Rust distribution, like
317- `rustc`. So depending on when you read this book, it might already be installed
318- on your computer! Check the online documentation for more details.
319- -->
320- < p > これを執筆している時点では、< code > rustfmt</ code > と呼ばれる自動整形ツールは開発中です。複数のRustプロジェクトに渡って、
321- 標準的なスタイルに固執したいなら、< code > rustfmt</ code > は特定のスタイルにコードを整形してくれます。Rustチームは、
322- 最終的に< code > rustc</ code > のように標準的なRustの配布にこのツールを含むことを計画しています。従って、この本を読んだ時期によっては、
323- 既にコンピュータにインストールされている可能性もあります!詳細は、オンラインのドキュメンテーションを確認してください。</ p >
313+ If you want to stick to a standard style across Rust projects, you can use an
314+ automatic formatter tool called `rustfmt` to format your code in a particular
315+ style. The Rust team has included this tool with the standard Rust distribution,
316+ like `rustc`, so it should already be installed on your computer! Check the
317+ online documentation for more details.
318+ -->
319+ < p > 複数のRustプロジェクトに渡って標準的なスタイルにこだわりたいなら、< code > rustfmt</ code > を使うことでコードを決まったスタイルに整形できるでしょう。
320+ Rustチームは、< code > rustc</ code > のように標準的なRustの配布にこのツールを含んでいるため、既にコンピューターにインストールされているはずです!
321+ 詳細は、オンラインのドキュメンテーションを確認してください。</ p >
324322<!--
325323Inside the `main` function is the following code:
326324-->
0 commit comments