Rollup merge of #26131 - astraw:fix-trait-comment, r=alexcrichton
Hi, I think the comments are wrong in the example and this PR offers my suggested fix.
This commit is contained in:
commit
91a9f82596
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ implement `Convert` like so:
|
|||
|
||||
```rust
|
||||
impl Convert<uint> for int { ... } // int -> uint
|
||||
impl Convert<int> for uint { ... } // uint -> uint
|
||||
impl Convert<int> for uint { ... } // uint -> int
|
||||
```
|
||||
|
||||
Now imagine there is some code like the following:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue