Skip to content

Commit 0abf458

Browse files
committed
More test fixes and rebase conflicts
1 parent ef46cae commit 0abf458

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/sys/windows/timer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn helper(input: libc::HANDLE, messages: Receiver<Req>, _: ()) {
9191
} else {
9292
let remove = {
9393
match &mut chans[idx as uint - 1] {
94-
&(ref mut c, oneshot) => { c.call(); oneshot }
94+
&mut (ref mut c, oneshot) => { c.call(); oneshot }
9595
}
9696
};
9797
if remove {

src/test/pretty/path-type-bounds.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ fn foo<'a>(x: Box<Tr+ Sync + 'a>) -> Box<Tr+ Sync + 'a> { x }
1919
fn main() {
2020
let x: Box<Tr+ Sync>;
2121

22-
box() 1i as Box<Tr+ Sync>;
22+
Box::new(1i) as Box<Tr+ Sync>;
2323
}
2424

0 commit comments

Comments
 (0)