diff --git a/tests/run-pass/concurrency/locks.rs b/tests/run-pass/concurrency/locks.rs index 49935db91bd9..3c8373691b84 100644 --- a/tests/run-pass/concurrency/locks.rs +++ b/tests/run-pass/concurrency/locks.rs @@ -6,7 +6,6 @@ use std::thread; fn main() { - let data = Arc::new(Mutex::new(0)); let mut threads = Vec::new(); @@ -27,5 +26,4 @@ fn main() { let data = Arc::try_unwrap(data).unwrap().into_inner().unwrap(); assert_eq!(data, 3); - -} \ No newline at end of file +}