Skip to content

Commit f22df7c

Browse files
committed
---
yaml --- r: 60112 b: refs/heads/master c: 2961997 h: refs/heads/master v: v3
1 parent 49c66fe commit f22df7c

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b2d1ac100fb7c7ea8716b17b8df64e43aef41f9e
2+
refs/heads/master: 2961997f169a526ccf5a3bafd95db3e12f7e0283
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 2d28d645422c1617be58c8ca7ad9a457264ca850
55
refs/heads/try: c50a9d5b664478e533ba1d1d353213d70c8ad589

trunk/src/libcore/os.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,10 @@ pub fn fsync_fd(fd: c_int, _l: io::fsync::Level) -> c_int {
352352
}
353353
}
354354

355-
pub struct Pipe { in: c_int, out: c_int }
355+
pub struct Pipe {
356+
in: c_int,
357+
out: c_int
358+
}
356359

357360
#[cfg(unix)]
358361
pub fn pipe() -> Pipe {

trunk/src/libcore/ptr.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,10 @@ pub mod ptr_tests {
336336
#[test]
337337
fn test() {
338338
unsafe {
339-
struct Pair {mut fst: int, mut snd: int};
339+
struct Pair {
340+
fst: int,
341+
snd: int
342+
};
340343
let mut p = Pair {fst: 10, snd: 20};
341344
let pptr: *mut Pair = &mut p;
342345
let iptr: *mut int = cast::transmute(pptr);

0 commit comments

Comments
 (0)