Skip to content

Commit 4e512e6

Browse files
committed
---
yaml --- r: 23119 b: refs/heads/master c: fe8c8ad h: refs/heads/master i: 23117: 8a6b732 23115: 70360df 23111: d2c67ea 23103: ab9e21c v: v3
1 parent 4a529fd commit 4e512e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: bcb6a68cbd928bb5d8331821272993bdde4fd388
2+
refs/heads/master: fe8c8ad5827e0156490d78257b5e33cf9bc1281a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/doc/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2434,7 +2434,7 @@ trait to_str {
24342434

24352435
## Implementation
24362436

2437-
To actually implement an trait for a given type, the `impl` form
2437+
To actually implement a trait for a given type, the `impl` form
24382438
is used. This defines implementations of `to_str` for the `int` and
24392439
`~str` types.
24402440

@@ -2533,7 +2533,7 @@ impl int: eq {
25332533
Notice that `equals` takes an `int` argument, rather than a `self` argument, in
25342534
an implementation for type `int`.
25352535

2536-
## Casting to an trait type
2536+
## Casting to a trait type
25372537

25382538
The above allows us to define functions that polymorphically act on
25392539
values of *an* unknown type that conforms to a given trait.

0 commit comments

Comments
 (0)