about summary refs log tree commit diff
path: root/src/libstd/unstable
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-30 14:10:53 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-03 09:32:34 -0800
commit209642c65177d6cf42dd4eea693040aa91cde9ee (patch)
treeb9c7c1c2382c978a53b6dd3f1c6c6fccb116cf0a /src/libstd/unstable
parent29e7247fd8be5a9879ebcd1a3ddc47e2fa743abd (diff)
downloadrust-209642c65177d6cf42dd4eea693040aa91cde9ee.tar.gz
rust-209642c65177d6cf42dd4eea693040aa91cde9ee.zip
std: Fix tests with io_error usage
Diffstat (limited to 'src/libstd/unstable')
-rw-r--r--src/libstd/unstable/sync.rs2
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));