We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e451b02 commit 90eb0e7Copy full SHA for 90eb0e7
[refs]
@@ -1,5 +1,5 @@
1
---
2
-refs/heads/master: 512a769f6fd9b9427d5e4aff33bd5bb3b0667af2
+refs/heads/master: a80b7dc709ff03e569ef22e322925c93d3a415f5
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
trunk/src/libcore/ptr.rs
@@ -146,7 +146,7 @@ fn to_unsafe_ptr<T>(thing: &T) -> *T unsafe {
146
*/
147
#[inline(always)]
148
fn to_mut_unsafe_ptr<T>(thing: &mut T) -> *mut T unsafe {
149
- unsafe::reinterpret_cast(thing)
+ unsafe::reinterpret_cast(&thing)
150
}
151
152
/**
0 commit comments