diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-01-22 23:49:57 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-01-26 09:29:28 -0800 |
| commit | cb343c33acf0f9833d8d6eb637234acf4321976b (patch) | |
| tree | e8f94b5bd4fac82b36d1ea8efa37e8690e8229eb /src/libstd/sync/mpsc/select.rs | |
| parent | 4b3c35509b7bd75c0b4712bb45440955d997ae75 (diff) | |
| download | rust-cb343c33acf0f9833d8d6eb637234acf4321976b.tar.gz rust-cb343c33acf0f9833d8d6eb637234acf4321976b.zip | |
Fix warnings during tests
The deny(warnings) attribute is now enabled for tests so we need to weed out these warnings as well.
Diffstat (limited to 'src/libstd/sync/mpsc/select.rs')
| -rw-r--r-- | src/libstd/sync/mpsc/select.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/mpsc/select.rs b/src/libstd/sync/mpsc/select.rs index d743cbb1890..5aa4ce81b8a 100644 --- a/src/libstd/sync/mpsc/select.rs +++ b/src/libstd/sync/mpsc/select.rs @@ -789,7 +789,7 @@ mod tests { fn fmt_debug_handle() { let (_, rx) = channel::<i32>(); let sel = Select::new(); - let mut handle = sel.handle(&rx); + let handle = sel.handle(&rx); assert_eq!(format!("{:?}", handle), "Handle { .. }"); } } |
