Skip to content

Commit ddd4077

Browse files
committed
---
yaml --- r: 184964 b: refs/heads/snap-stage3 c: 554022e h: refs/heads/master v: v3
1 parent 0b54b65 commit ddd4077

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: f0f7ca27de6b4e03f30012656dad270cda55a363
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 852eadc2951a2f94d2ede72c0e36033c8b754bd8
4+
refs/heads/snap-stage3: 554022e58392b173092e707b4c553713d07ed44d
55
refs/heads/try: ccf8fedf1cffcb8f6f3581d53d220039e192fe77
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/liballoc/boxed.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ impl<T : ?Sized> Box<T> {
114114
/// function is called twice on the same raw pointer.
115115
#[unstable(feature = "alloc",
116116
reason = "may be renamed or moved out of Box scope")]
117+
#[inline]
117118
pub unsafe fn from_raw(raw: *mut T) -> Self {
118119
mem::transmute(raw)
119120
}
@@ -141,6 +142,7 @@ impl<T : ?Sized> Box<T> {
141142
/// ```
142143
#[unstable(feature = "alloc",
143144
reason = "may be renamed")]
145+
#[inline]
144146
pub unsafe fn into_raw<T : ?Sized>(b: Box<T>) -> *mut T {
145147
mem::transmute(b)
146148
}

0 commit comments

Comments
 (0)