File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
branches/tmp/src/liballoc Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34
34
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
35
35
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
36
36
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37
- refs/heads/tmp: 852eadc2951a2f94d2ede72c0e36033c8b754bd8
37
+ refs/heads/tmp: 554022e58392b173092e707b4c553713d07ed44d
38
38
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ impl<T : ?Sized> Box<T> {
114
114
/// function is called twice on the same raw pointer.
115
115
#[ unstable( feature = "alloc" ,
116
116
reason = "may be renamed or moved out of Box scope" ) ]
117
+ #[ inline]
117
118
pub unsafe fn from_raw ( raw : * mut T ) -> Self {
118
119
mem:: transmute ( raw)
119
120
}
@@ -141,6 +142,7 @@ impl<T : ?Sized> Box<T> {
141
142
/// ```
142
143
#[ unstable( feature = "alloc" ,
143
144
reason = "may be renamed" ) ]
145
+ #[ inline]
144
146
pub unsafe fn into_raw < T : ?Sized > ( b : Box < T > ) -> * mut T {
145
147
mem:: transmute ( b)
146
148
}
You can’t perform that action at this time.
0 commit comments