mv the raw pointer {swap,replace}_ptr to std::ptr

This commit is contained in:
Daniel Micay 2013-05-31 10:21:29 -04:00
parent 030f471f26
commit 29aba8033a
6 changed files with 48 additions and 48 deletions

View file

@ -26,8 +26,8 @@ pub fn main() {
fn do_swap(test: &mut TestDescAndFn) {
unsafe {
util::swap_ptr(ptr::to_mut_unsafe_ptr(test),
ptr::to_mut_unsafe_ptr(test));
ptr::swap_ptr(ptr::to_mut_unsafe_ptr(test),
ptr::to_mut_unsafe_ptr(test));
}
}