Add a missing newline in the test.
This commit is contained in:
parent
4609c3c520
commit
d9ec0f2b36
1 changed files with 1 additions and 3 deletions
|
|
@ -6,7 +6,6 @@ use std::sync::{Arc, Mutex};
|
|||
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);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue