1
Fork 0

Swap return value order in pipes::oneshot Issue #4496

This commit is contained in:
Nick Desaulniers 2013-01-15 17:18:00 -08:00
parent eb8fd119c6
commit bb7d7204e2
4 changed files with 8 additions and 7 deletions

View file

@ -512,7 +512,7 @@ mod tests {
fn test_mutex_arc_condvar() {
let arc = ~MutexARC(false);
let arc2 = ~arc.clone();
let (c,p) = pipes::oneshot();
let (p,c) = pipes::oneshot();
let (c,p) = (~mut Some(move c), ~mut Some(move p));
do task::spawn |move arc2, move p| {
// wait until parent gets in