Skip to content

Commit 41ffb25

Browse files
authored
Merge pull request #44 from TonalidadeHidrica/creating-a-new-project
「新しいプロジェクトを作成する」の内容を原文に追従
2 parents d42ff20 + ead217f commit 41ffb25

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/editions/creating-a-new-project.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@ Cargoは新たなプロジェクトを作成する際に自動で最新のエデ
1212
```console
1313
> cargo +nightly new foo
1414
Created binary (application) `foo` project
15-
> cat .\foo\Cargo.toml
15+
> cat foo/Cargo.toml
1616
[package]
1717
name = "foo"
1818
version = "0.1.0"
1919
authors = ["your name <you@example.com>"]
20-
edition = "2018"
20+
edition = "2021"
2121

2222
[dependencies]
2323
```
2424

2525
<!--
26-
That `edition = "2018"` setting will configure your package to use Rust 2018.
26+
That `edition = "2021"` setting will configure your package to use Rust 2021.
2727
No more configuration needed!
2828
2929
If you'd prefer to use an older edition, you can change the value in that
3030
key, for example:
3131
-->
3232

33-
この `edition = "2018"` によってあなたのパッケージが Rust 2018 を利用するように設定されます。
33+
この `edition = "2021"` によってあなたのパッケージが Rust 2021 を利用するように設定されます。
3434
これ以外は必要ありません。
3535

3636
もし、他の古いエディションを使いたい場合は、その設定の値を変更できます。例えば、

0 commit comments

Comments
 (0)