Skip to content

Commit e96d92d

Browse files
committed
Update the translation for ch01-03-hello-cargo in accordance with original text
1 parent 328b2f9 commit e96d92d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/ch01-03-hello-cargo.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ code in Listing 1-2.
123123
[package]
124124
name = "hello_cargo"
125125
version = "0.1.0"
126-
authors = ["Your Name <you@example.com>"]
126+
edition = "2018"
127127

128128
[dependencies]
129129
```
@@ -156,14 +156,12 @@ this file, we’ll add other sections.
156156

157157
<!--
158158
The next three lines set the configuration information Cargo needs to compile
159-
your program: the name, the version, and who wrote it. Cargo gets your name and
160-
email information from your environment, so if that information is not correct,
161-
fix the information now and then save the file.
159+
your program: the name, the version, and the edition of Rust to use. We’ll talk
160+
about the `edition` key in [Appendix E][appendix-e]<!-- ignore -->.
162161
-->
163162

164-
その後の3行が、Cargoがプログラムをコンパイルするのに必要な設定情報をセットします: 名前、バージョン、誰が書いたかです。
165-
Cargoは名前とEメールの情報を環境から取得するので、その情報が正しくなければ、
166-
今修正してそれから保存してください。
163+
その後の3行が、Cargoがプログラムをコンパイルするのに必要な設定情報をセットします: 名前、バージョン、使用するRustのエディションです。
164+
`edition`キーについては、[Appendix E][appendix-e]<!-- ignore -->で話題にします。
167165

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

0 commit comments

Comments
 (0)