diff options
| author | Jeff Olson <olson.jeffery@gmail.com> | 2013-08-20 17:54:37 -0700 |
|---|---|---|
| committer | Jeff Olson <olson.jeffery@gmail.com> | 2013-08-22 16:31:58 -0700 |
| commit | 0e9964189db9feb5bd1f35a2690954008d95cdb0 (patch) | |
| tree | a4ef78da53561c197b68692aefcbc97389e277cb /src/libstd/rt | |
| parent | 05c8cc70c90032d578606e811bbb1266cd8d2fcd (diff) | |
| download | rust-0e9964189db9feb5bd1f35a2690954008d95cdb0.tar.gz rust-0e9964189db9feb5bd1f35a2690954008d95cdb0.zip | |
std: lint appeasement for unused param in condition handler
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/io/file.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/io/file.rs b/src/libstd/rt/io/file.rs index edc2953a4dd..23860ca885a 100644 --- a/src/libstd/rt/io/file.rs +++ b/src/libstd/rt/io/file.rs @@ -238,7 +238,7 @@ fn file_test_unlinking_invalid_path_should_raise_condition_impl() { do run_in_newsched_task { let filename = &Path("./another_file_that_does_not_exist.txt"); let mut called = false; - do io_error::cond.trap(|e| { + do io_error::cond.trap(|_| { called = true; }).inside { FileStream::unlink(filename); |
