@@ -297,7 +297,7 @@ $ mv hello_world.rs src/hello_world.rs
297
297
```
298
298
299
299
Cargo expects your source files to live inside a ` src ` directory. That leaves
300
- the top level for other things, like READMEs, licence information, and anything
300
+ the top level for other things, like READMEs, license information, and anything
301
301
not related to your code. Cargo helps us keep our projects nice and tidy. A
302
302
place for everything, and everything in its place.
303
303
@@ -1743,7 +1743,7 @@ fn main() {
1743
1743
}
1744
1744
```
1745
1745
1746
- Sometimes, this makes things more readable. Sometimes, less. Use your judgement
1746
+ Sometimes, this makes things more readable. Sometimes, less. Use your judgment
1747
1747
here.
1748
1748
1749
1749
That's all you need to get basic input from the standard input! It's not too
@@ -2659,7 +2659,7 @@ modules, which can contain other modules, as deeply as you'd like.
2659
2659
Note that we haven't mentioned anything about files yet. Rust does not impose a
2660
2660
particular relationship between your filesystem structure and your module
2661
2661
structure. That said, there is a conventional approach to how Rust looks for
2662
- modules on the file system, but it's also overrideable .
2662
+ modules on the file system, but it's also overridable .
2663
2663
2664
2664
Enough talk, let's build something! Let's make a new project called ` modules ` .
2665
2665
@@ -3511,7 +3511,7 @@ exporting the name again, somewhere else.
3511
3511
3512
3512
We've now covered the basics of testing. Rust's tools are primitive, but they
3513
3513
work well in the simple cases. There are some Rustaceans working on building
3514
- more complicated frameworks on top of all of this, but thery 're just starting
3514
+ more complicated frameworks on top of all of this, but they 're just starting
3515
3515
out.
3516
3516
3517
3517
# Pointers
@@ -5499,7 +5499,7 @@ fn main() {
5499
5499
5500
5500
Whew! This isn't too terrible. You can see that we still ` let x = 5i ` ,
5501
5501
but then things get a little bit hairy. Three more bindings get set: a
5502
- static format string, an argument vector, and the aruments . We then
5502
+ static format string, an argument vector, and the arguments . We then
5503
5503
invoke the ` println_args ` function with the generated arguments.
5504
5504
5505
5505
This is the code (well, the full version) that Rust actually compiles. You can
0 commit comments