]> git.lizzy.rs Git - rust.git/commit
auto merge of #12143 : brson/rust/swap, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 10 Feb 2014 07:11:25 +0000 (23:11 -0800)
committerbors <bors@rust-lang.org>
Mon, 10 Feb 2014 07:11:25 +0000 (23:11 -0800)
commitf3a87a7f1ff8089742bc8dc45b812dd844109034
treef241823947117020a0ea0375f67099a13a2a2119
parent5bad63cef541d295e1fc4e4246d493f9837e0d18
parent07c5e5d81363b6cdbca64637832620ab4870d258
auto merge of #12143 : brson/rust/swap, r=alexcrichton

Thinking about swap as an example of unsafe programming. This cleans it up a bit. It also removes type parametrization over `RawPtr` from the memcpy functions to make this compile.