diff options
| author | Tim Ringenbach <tim.ringenbach@gmail.com> | 2015-05-28 13:04:17 -0500 |
|---|---|---|
| committer | Tim Ringenbach <tim.ringenbach@gmail.com> | 2015-05-29 13:29:42 -0500 |
| commit | 8746b1ac6f3c95383a19ad2ab365a62140516206 (patch) | |
| tree | 567da376ec234d52d1219288398514573d372f1e /src/rustllvm/RustWrapper.cpp | |
| parent | 9c303944a7c6767cd5cb708d25ffa27851fa994c (diff) | |
| download | rust-8746b1ac6f3c95383a19ad2ab365a62140516206.tar.gz rust-8746b1ac6f3c95383a19ad2ab365a62140516206.zip | |
Improve mem::forget documentation
This adds an example from mem::swap, and provides some suggested uses of this function. Change wording on comment on forget line to be more specific as to why we need to call forget. This breaks the examples up into three pieces. The last piece isn't compiling for some reason.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
