File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: bcb6a68cbd928bb5d8331821272993bdde4fd388
2
+ refs/heads/master: fe8c8ad5827e0156490d78257b5e33cf9bc1281a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -2434,7 +2434,7 @@ trait to_str {
2434
2434
2435
2435
## Implementation
2436
2436
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
2438
2438
is used. This defines implementations of ` to_str ` for the ` int ` and
2439
2439
` ~str ` types.
2440
2440
@@ -2533,7 +2533,7 @@ impl int: eq {
2533
2533
Notice that ` equals ` takes an ` int ` argument, rather than a ` self ` argument, in
2534
2534
an implementation for type ` int ` .
2535
2535
2536
- ## Casting to an trait type
2536
+ ## Casting to a trait type
2537
2537
2538
2538
The above allows us to define functions that polymorphically act on
2539
2539
values of * an* unknown type that conforms to a given trait.
You can’t perform that action at this time.
0 commit comments