Skip to content

Commit cf30556

Browse files
committed
tutorial: Corrections from Florian Weimer
1 parent 5d32d03 commit cf30556

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ more underscores.
350350

351351
The double-colon (`::`) is used as a module separator, so
352352
`io::println` means 'the thing named `println` in the module
353-
named `io`'.
353+
named `io`.
354354

355355
Rust will normally emit warnings about unused variables. These can be
356356
suppressed by using a variable name that starts with an underscore.
@@ -1413,7 +1413,7 @@ let exchange_crayons: ~[crayon] = ~[banana_mania, beaver, bittersweet];
14131413
> but is deprecated. In the future it will probably represent some
14141414
> "reasonable default" vector type.
14151415
>
1416-
> Unique vectors are the currently-recomended vector type for general
1416+
> Unique vectors are the currently-recommended vector type for general
14171417
> use as they are the most tested and well-supported by existing
14181418
> libraries. There will be a gradual shift toward using more
14191419
> stack and local vectors in the coming releases.
@@ -2814,7 +2814,7 @@ C functions often take pointers to structs as arguments. Since Rust
28142814
records are binary-compatible with C structs, Rust programs can call
28152815
such functions directly.
28162816

2817-
This program uses the Posix function `gettimeofday` to get a
2817+
This program uses the POSIX function `gettimeofday` to get a
28182818
microsecond-resolution timer.
28192819

28202820
~~~~

0 commit comments

Comments
 (0)