diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-04-27 10:26:18 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-04-27 10:26:18 -0400 |
| commit | 72ee472146681d2a87e9bdce8024da309828dafd (patch) | |
| tree | 670a5c85c63f5684ad1d14f34be8ead0ab5a4098 /src/rustllvm/RustWrapper.cpp | |
| parent | 130240afc6eb1da5131f4a66d9e374a28eb6102c (diff) | |
| parent | 84ef3b53517e2ed1148e6d4214c0c97c2328ead0 (diff) | |
| download | rust-72ee472146681d2a87e9bdce8024da309828dafd.tar.gz rust-72ee472146681d2a87e9bdce8024da309828dafd.zip | |
Rollup merge of #24848 - bluss:deref-string, r=alexcrichton
Improve example for as_string and add example for as_vec Provide a better example of `as_string` / `DerefString`'s unique capabilities. Use an example where (for an unspecified reason) you need a &String, and show how `as_string` solves the problem without needing an allocation.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
