about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-09-03 23:30:37 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-09-04 01:40:01 +0530
commit0c2924386d7a88c5986cdc7b2928a849881a7af0 (patch)
tree9915555b229e06d0baf67d7ece791aea507751d6 /src/rustllvm/RustWrapper.cpp
parent2a40e46f18206e30e8528a5a2adcef71a615aba4 (diff)
parent865d6c3b5b8aa66109b08e1f73721e06116cc727 (diff)
downloadrust-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