@@ -469,7 +469,7 @@ fn signum(x: int) -> int {
469
469
470
470
Rust's ` match ` construct is a generalized, cleaned-up version of C's
471
471
` switch ` construct. You provide it with a value and a number of
472
- * arms* , each labelled with a pattern, and the code compares the value
472
+ * arms* , each labeled with a pattern, and the code compares the value
473
473
against each pattern in order until one matches. The matching pattern
474
474
executes its corresponding arm.
475
475
@@ -2524,7 +2524,7 @@ of the components of types. By design, trait objects don't know the exact type
2524
2524
of their contents and so the compiler cannot reason about those properties.
2525
2525
2526
2526
You can instruct the compiler, however, that the contents of a trait object must
2527
- acribe to a particular bound with a trailing colon (` : ` ). These are examples of
2527
+ ascribe to a particular bound with a trailing colon (` : ` ). These are examples of
2528
2528
valid types:
2529
2529
2530
2530
~~~ rust
@@ -2579,7 +2579,7 @@ This is a silly way to compute the radius of a circle
2579
2579
2580
2580
In type-parameterized functions,
2581
2581
methods of the supertrait may be called on values of subtrait-bound type parameters.
2582
- Refering to the previous example of ` trait Circle : Shape ` :
2582
+ Referring to the previous example of ` trait Circle : Shape ` :
2583
2583
2584
2584
~~~
2585
2585
# trait Shape { fn area(&self) -> f64; }
0 commit comments