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