diff options
Diffstat (limited to 'src/libstd/unstable/sync.rs')
| -rw-r--r-- | src/libstd/unstable/sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/unstable/sync.rs b/src/libstd/unstable/sync.rs index 3b2c86c3712..c2fa168a478 100644 --- a/src/libstd/unstable/sync.rs +++ b/src/libstd/unstable/sync.rs @@ -200,7 +200,7 @@ mod tests { // accesses will also fail. let x = Exclusive::new(1); let x2 = x.clone(); - task::try(proc() { + let _ = task::try(proc() { x2.with(|one| assert_eq!(*one, 2)) }); x.with(|one| assert_eq!(*one, 1)); |
