File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
branches/snap-stage3/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 1
1
---
2
2
refs/heads/master: f0f7ca27de6b4e03f30012656dad270cda55a363
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 852eadc2951a2f94d2ede72c0e36033c8b754bd8
4
+ refs/heads/snap-stage3: 554022e58392b173092e707b4c553713d07ed44d
5
5
refs/heads/try: ccf8fedf1cffcb8f6f3581d53d220039e192fe77
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
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