auto merge of #7016 : thestinger/rust/ptr, r=luqmana
This commit is contained in:
commit
470bf0dfb3
7 changed files with 8 additions and 13 deletions
|
|
@ -263,7 +263,7 @@ impl Drop for PoisonOnFail {
|
|||
|
||||
fn PoisonOnFail<'r>(failed: &'r mut bool) -> PoisonOnFail {
|
||||
PoisonOnFail {
|
||||
failed: ptr::to_mut_unsafe_ptr(failed)
|
||||
failed: failed
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue