File tree Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Expand file tree Collapse file tree 4 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5
- refs/heads/try: 4d44abd52aa03b5c896849d4785d387538fbb51e
5
+ refs/heads/try: c69f8ea91a47830c8acf33774610a1c23136091f
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
Original file line number Diff line number Diff line change @@ -31,9 +31,7 @@ pub impl StackSegment {
31
31
32
32
/// Point one word beyond the high end of the allocated stack
33
33
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
37
35
}
38
36
}
39
37
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ pub type Buf = uvll::uv_buf_t;
362
362
363
363
/// Borrow a slice to a Buf
364
364
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);
366
366
unsafe { uvll::buf_init(data, v.len()) }
367
367
}
368
368
Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ #[ cfg( stage0) ]
11
12
use core;
12
13
13
14
#[ deriving( Eq , IterBytes ) ]
You can’t perform that action at this time.
0 commit comments