Skip to content

Commit 963861f

Browse files
committed
rollup merge of rust-lang#16849 : nhowell/patch-1
2 parents daefa70 + 0a84308 commit 963861f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/doc/guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ $ mv hello_world.rs src/hello_world.rs
297297
```
298298

299299
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
301301
not related to your code. Cargo helps us keep our projects nice and tidy. A
302302
place for everything, and everything in its place.
303303

@@ -1743,7 +1743,7 @@ fn main() {
17431743
}
17441744
```
17451745

1746-
Sometimes, this makes things more readable. Sometimes, less. Use your judgement
1746+
Sometimes, this makes things more readable. Sometimes, less. Use your judgment
17471747
here.
17481748

17491749
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.
26592659
Note that we haven't mentioned anything about files yet. Rust does not impose a
26602660
particular relationship between your filesystem structure and your module
26612661
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.
26632663

26642664
Enough talk, let's build something! Let's make a new project called `modules`.
26652665

@@ -3511,7 +3511,7 @@ exporting the name again, somewhere else.
35113511

35123512
We've now covered the basics of testing. Rust's tools are primitive, but they
35133513
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
35153515
out.
35163516

35173517
# Pointers
@@ -5499,7 +5499,7 @@ fn main() {
54995499

55005500
Whew! This isn't too terrible. You can see that we still `let x = 5i`,
55015501
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
55035503
invoke the `println_args` function with the generated arguments.
55045504

55055505
This is the code (well, the full version) that Rust actually compiles. You can

0 commit comments

Comments
 (0)