Skip to content

Commit 1fff553

Browse files
committed
fix comments in example about types
1 parent 7b0f2af commit 1fff553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/traits/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ implement `Convert` like so:
120120

121121
```rust
122122
impl Convert<uint> for int { ... } // int -> uint
123-
impl Convert<int> for uint { ... } // uint -> uint
123+
impl Convert<int> for uint { ... } // uint -> int
124124
```
125125

126126
Now imagine there is some code like the following:

0 commit comments

Comments
 (0)