Skip to content

Commit 57b18f1

Browse files
committed
訳し忘れを修正
1 parent 4543380 commit 57b18f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/ch13-03-improving-our-io-project.md

+3
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ we’re passing ownership of the iterator returned from `env::args` to
154154
`Config::build` directly.
155155
-->
156156

157+
`env::args`関数は、イテレータを返します!イテレータの値をベクタに集結させ、それからスライスを`Config::build`に渡すのではなく、
158+
今では`env::args`から返ってくるイテレータの所有権を直接`Config::build`に渡しています。
159+
157160
<!--
158161
Next, we need to update the definition of `Config::build`. In your I/O
159162
project’s *src/lib.rs* file, let’s change the signature of `Config::build` to

0 commit comments

Comments
 (0)