Skip to content

Commit a637841

Browse files
committed
---
yaml --- r: 187591 b: refs/heads/tmp c: 554022e h: refs/heads/master i: 187589: 948b7ff 187587: 453faea 187583: 09eb19b v: v3
1 parent 15aeecd commit a637841

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
@@ -34,5 +34,5 @@ refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
3434
refs/heads/beta: 522d09dfecbeca1595f25ac58c6d0178bbd21d7d
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3636
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
37-
refs/heads/tmp: 852eadc2951a2f94d2ede72c0e36033c8b754bd8
37+
refs/heads/tmp: 554022e58392b173092e707b4c553713d07ed44d
3838
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

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