Skip to content

Commit bccff13

Browse files
committed
---
yaml --- r: 187169 b: refs/heads/try c: 554022e h: refs/heads/master i: 187167: 20860d3 v: v3
1 parent 159607d commit bccff13

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
@@ -2,7 +2,7 @@
22
refs/heads/master: b4c965ee803a4521d8b4575f634e036f93e408f3
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
5-
refs/heads/try: 852eadc2951a2f94d2ede72c0e36033c8b754bd8
5+
refs/heads/try: 554022e58392b173092e707b4c553713d07ed44d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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)