diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-01-30 14:10:53 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-02-03 09:32:34 -0800 |
| commit | 209642c65177d6cf42dd4eea693040aa91cde9ee (patch) | |
| tree | b9c7c1c2382c978a53b6dd3f1c6c6fccb116cf0a /src/libstd/task.rs | |
| parent | 29e7247fd8be5a9879ebcd1a3ddc47e2fa743abd (diff) | |
| download | rust-209642c65177d6cf42dd4eea693040aa91cde9ee.tar.gz rust-209642c65177d6cf42dd4eea693040aa91cde9ee.zip | |
std: Fix tests with io_error usage
Diffstat (limited to 'src/libstd/task.rs')
| -rw-r--r-- | src/libstd/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/task.rs b/src/libstd/task.rs index c8b69083086..5fa0c6431ab 100644 --- a/src/libstd/task.rs +++ b/src/libstd/task.rs @@ -541,7 +541,7 @@ fn test_avoid_copying_the_body_task_spawn() { #[test] fn test_avoid_copying_the_body_try() { avoid_copying_the_body(|f| { - try(proc() { + let _ = try(proc() { f() }); }) |
