File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: b2d1ac100fb7c7ea8716b17b8df64e43aef41f9e
2
+ refs/heads/master: 2961997f169a526ccf5a3bafd95db3e12f7e0283
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
5
5
refs/heads/try: c50a9d5b664478e533ba1d1d353213d70c8ad589
Original file line number Diff line number Diff line change @@ -352,7 +352,10 @@ pub fn fsync_fd(fd: c_int, _l: io::fsync::Level) -> c_int {
352
352
}
353
353
}
354
354
355
- pub struct Pipe { in : c_int , out : c_int }
355
+ pub struct Pipe {
356
+ in : c_int ,
357
+ out : c_int
358
+ }
356
359
357
360
#[ cfg( unix) ]
358
361
pub fn pipe ( ) -> Pipe {
Original file line number Diff line number Diff line change @@ -336,7 +336,10 @@ pub mod ptr_tests {
336
336
#[test]
337
337
fn test() {
338
338
unsafe {
339
- struct Pair {mut fst: int, mut snd: int};
339
+ struct Pair {
340
+ fst: int,
341
+ snd: int
342
+ };
340
343
let mut p = Pair {fst: 10, snd: 20};
341
344
let pptr: *mut Pair = &mut p;
342
345
let iptr: *mut int = cast::transmute(pptr);
You can’t perform that action at this time.
0 commit comments