Skip to content

Commit 0e99641

Browse files
committed
std: lint appeasement for unused param in condition handler
1 parent 05c8cc7 commit 0e99641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/io/file.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ fn file_test_unlinking_invalid_path_should_raise_condition_impl() {
238238
do run_in_newsched_task {
239239
let filename = &Path("./another_file_that_does_not_exist.txt");
240240
let mut called = false;
241-
do io_error::cond.trap(|e| {
241+
do io_error::cond.trap(|_| {
242242
called = true;
243243
}).inside {
244244
FileStream::unlink(filename);

0 commit comments

Comments
 (0)