File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -355,7 +355,7 @@ Hello, world!
355
355
Bam! We build our project with ` cargo build ` , and run it with
356
356
` ./target/hello_world ` . This hasn't bought us a whole lot over our simple use
357
357
of ` rustc ` , but think about the future: when our project has more than one
358
- file, we would need to call ` rustc ` twice , and pass it a bunch of options to
358
+ file, we would need to call ` rustc ` more than once , and pass it a bunch of options to
359
359
tell it to build everything together. With Cargo, as our project grows, we can
360
360
just ` cargo build ` and it'll work the right way.
361
361
@@ -977,7 +977,7 @@ fn main() {
977
977
```
978
978
979
979
Even though Rust functions can only return one value, a tuple _ is_ one value,
980
- that happens to be made up of two . You can also see in this example how you
980
+ that happens to be made up of more than one value . You can also see in this example how you
981
981
can destructure a pattern returned by a function, as well.
982
982
983
983
Tuples are a very simple data structure, and so are not often what you want.
You can’t perform that action at this time.
0 commit comments