Skip to content

Commit 4633988

Browse files
committed
ch01-03に対する軽微な修正
1 parent 444cc62 commit 4633988

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/ch01-03-hello-cargo.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,16 +90,18 @@ same name.
9090
Go into the *hello_cargo* directory and list the files. You’ll see that Cargo
9191
has generated two files and one directory for us: a *Cargo.toml* file and a
9292
*src* directory with a *main.rs* file inside.
93-
94-
It has also initialized a new Git repository along with a *.gitignore* file.
95-
Git files won’t be generated if you run `cargo new` within an existing Git
96-
repository; you can override this behavior by using `cargo new --vcs=git`.
9793
-->
9894

9995
*hello_cargo*ディレクトリに行き、ファイルの一覧を取得してください。
10096
Cargoが2つのファイルと1つのディレクトリを生成してくれたことがわかるでしょう。
10197
*Cargo.toml*ファイルと*src*ディレクトリがあり、*src*の中には*main.rs*ファイルがあります。
10298

99+
<!--
100+
It has also initialized a new Git repository along with a *.gitignore* file.
101+
Git files won’t be generated if you run `cargo new` within an existing Git
102+
repository; you can override this behavior by using `cargo new --vcs=git`.
103+
-->
104+
103105
また、*.gitignore*ファイルと共に新しいGitリポジトリも初期化されています。
104106
もし、すでに存在するGitリポジトリの中で`cargo new`を実行したなら、Git関連のファイルは作られません。
105107
`cargo new --vcs=git`とすることで、この振る舞いを変更できます。
@@ -149,9 +151,7 @@ This file is in the [*TOML*](https://toml.io) (*Tom’s Obvious,
149151
Minimal Language*) format, which is Cargo’s configuration format.
150152
-->
151153

152-
このファイルは[TOML][toml]*Tom's Obvious, Minimal Language*、トムの明確な最小限の言語)形式で、Cargoの設定フォーマットです。
153-
154-
[toml]: https://github.com/toml-lang/toml
154+
このファイルは[TOML](https://toml.io)*Tom's Obvious, Minimal Language*、トムの明確な最小限の言語)形式で、Cargoの設定フォーマットです。
155155

156156
<!--
157157
The first line, `[package]`, is a section heading that indicates that the
@@ -170,7 +170,7 @@ about the `edition` key in [Appendix E][appendix-e].
170170

171171
次の3行はCargoがプログラムをコンパイルするのに必要となる設定情報を指定します。
172172
ここでは、名前、バージョン、使用するRustのエディションを指定しています。
173-
`edition`キーについては[付録E][appendix-e]<!-- ignore -->で説明されています。
173+
`edition`キーについては[付録E][appendix-e]で説明されています。
174174

175175
<!--
176176
The last line, `[dependencies]`, is the start of a section for you to list any

0 commit comments

Comments
 (0)