Skip to content

Commit 9a9d9cb

Browse files
committed
---
yaml --- r: 61429 b: refs/heads/try c: c69f8ea h: refs/heads/master i: 61427: fa08985 v: v3
1 parent 0d38489 commit 9a9d9cb

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
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: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5-
refs/heads/try: 4d44abd52aa03b5c896849d4785d387538fbb51e
5+
refs/heads/try: c69f8ea91a47830c8acf33774610a1c23136091f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libcore/rt/stack.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ pub impl StackSegment {
3131

3232
/// Point one word beyond the high end of the allocated stack
3333
fn end(&self) -> *uint {
34-
unsafe {
35-
vec::raw::to_ptr(self.buf).offset(self.buf.len()) as *uint
36-
}
34+
vec::raw::to_ptr(self.buf).offset(self.buf.len()) as *uint
3735
}
3836
}
3937

branches/try/src/libcore/rt/uv/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ pub type Buf = uvll::uv_buf_t;
362362
363363
/// Borrow a slice to a Buf
364364
pub fn slice_to_uv_buf(v: &[u8]) -> Buf {
365-
let data = unsafe { vec::raw::to_ptr(v) };
365+
let data = vec::raw::to_ptr(v);
366366
unsafe { uvll::buf_init(data, v.len()) }
367367
}
368368

branches/try/src/librustc/util/enum_set.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#[cfg(stage0)]
1112
use core;
1213

1314
#[deriving(Eq, IterBytes)]

0 commit comments

Comments
 (0)