about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTim Ringenbach <tim.ringenbach@gmail.com>2015-05-28 13:04:17 -0500
committerTim Ringenbach <tim.ringenbach@gmail.com>2015-05-29 13:29:42 -0500
commit8746b1ac6f3c95383a19ad2ab365a62140516206 (patch)
tree567da376ec234d52d1219288398514573d372f1e /src/rustllvm/RustWrapper.cpp
parent9c303944a7c6767cd5cb708d25ffa27851fa994c (diff)
downloadrust-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