@@ -90,16 +90,18 @@ same name.
90
90
Go into the *hello_cargo* directory and list the files. You’ll see that Cargo
91
91
has generated two files and one directory for us: a *Cargo.toml* file and a
92
92
*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`.
97
93
-->
98
94
99
95
* hello_cargo* ディレクトリに行き、ファイルの一覧を取得してください。
100
96
Cargoが2つのファイルと1つのディレクトリを生成してくれたことがわかるでしょう。
101
97
* Cargo.toml* ファイルと* src* ディレクトリがあり、* src* の中には* main.rs* ファイルがあります。
102
98
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
+
103
105
また、* .gitignore* ファイルと共に新しいGitリポジトリも初期化されています。
104
106
もし、すでに存在するGitリポジトリの中で` cargo new ` を実行したなら、Git関連のファイルは作られません。
105
107
` cargo new --vcs=git ` とすることで、この振る舞いを変更できます。
@@ -149,9 +151,7 @@ This file is in the [*TOML*](https://toml.io) (*Tom’s Obvious,
149
151
Minimal Language*) format, which is Cargo’s configuration format.
150
152
-->
151
153
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の設定フォーマットです。
155
155
156
156
<!--
157
157
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].
170
170
171
171
次の3行はCargoがプログラムをコンパイルするのに必要となる設定情報を指定します。
172
172
ここでは、名前、バージョン、使用するRustのエディションを指定しています。
173
- ` edition ` キーについては[ 付録E] [ appendix-e ] <!-- ignore --> で説明されています。
173
+ ` edition ` キーについては[ 付録E] [ appendix-e ] で説明されています。
174
174
175
175
<!--
176
176
The last line, `[dependencies]`, is the start of a section for you to list any
0 commit comments