diff options
Diffstat (limited to 'src/libstd/thread.rs')
| -rw-r--r-- | src/libstd/thread.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/thread.rs b/src/libstd/thread.rs index 1c64b6961d7..1f70e1526a0 100644 --- a/src/libstd/thread.rs +++ b/src/libstd/thread.rs @@ -702,7 +702,7 @@ mod test { use boxed::BoxAny; use result; use std::old_io::{ChanReader, ChanWriter}; - use super::{Thread, Builder}; + use super::{Builder}; use thread; use thunk::Thunk; use time::Duration; @@ -767,7 +767,7 @@ mod test { #[test] #[should_fail] fn test_scoped_implicit_panic() { - thread::scoped(|| panic!()); + let _ = thread::scoped(|| panic!()); } #[test] |
