Skip to content

Commit 0375748

Browse files
committed
libstd: Fix broken test.
1 parent 4cf51c2 commit 0375748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/future.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ pub mod test {
203203
pub fn test_sendable_future() {
204204
let expected = ~"schlorf";
205205
let f = do spawn |copy expected| { copy expected };
206-
do task::spawn |f, expected| {
206+
do task::spawn || {
207207
let actual = f.get();
208208
assert actual == expected;
209209
}

0 commit comments

Comments
 (0)