diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-03 23:30:37 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-09-04 01:40:01 +0530 |
| commit | 0c2924386d7a88c5986cdc7b2928a849881a7af0 (patch) | |
| tree | 9915555b229e06d0baf67d7ece791aea507751d6 /src/rustllvm/RustWrapper.cpp | |
| parent | 2a40e46f18206e30e8528a5a2adcef71a615aba4 (diff) | |
| parent | 865d6c3b5b8aa66109b08e1f73721e06116cc727 (diff) | |
| download | rust-0c2924386d7a88c5986cdc7b2928a849881a7af0.tar.gz rust-0c2924386d7a88c5986cdc7b2928a849881a7af0.zip | |
Rollup merge of #28184 - xiaochuanyu:patch-1, r=alexcrichton
Originally in an example it reads as follows:
```rust
fn inverse<T>() -> T
// this is using ConvertTo as if it were "ConvertFrom<i32>"
where i32: ConvertTo<T> {
42.convert()
}
```
There was no mention of `ConvertFrom` elsewhere in the page other than in this comment. Is this supposed to be `ConvertTo<i64>` ?
I'm confused by this example.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
