diff options
| author | kennytm <kennytm@gmail.com> | 2017-11-21 03:14:42 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-21 03:14:42 +0800 |
| commit | 3b1cf4d3c78185c3b00f952983a9066b42ca17aa (patch) | |
| tree | 079a8f2cc0fc754a11e9dbc70838b11b57afc180 /src/rustllvm/RustWrapper.cpp | |
| parent | 2c16502b929194cd2389c790ca6aec129b5205ad (diff) | |
| parent | 44da4a0656b8f4197e67798fc93bd13b267a5b7a (diff) | |
| download | rust-3b1cf4d3c78185c3b00f952983a9066b42ca17aa.tar.gz rust-3b1cf4d3c78185c3b00f952983a9066b42ca17aa.zip | |
Rollup merge of #46088 - vitiral:read_doc, r=steveklabnik
add doc for doing `Read` from `&str` This information can be found on [stackoverflow](https://stackoverflow.com/questions/32674905/pass-string-to-function-taking-read-trait) but I think it would be beneficial if it was documented in the `Read` trait itself. I had an *extremely* hard time finding this information, and "mocking" a reader with a string is an EXTREMELY common thing (I believe).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
