diff options
Diffstat (limited to 'tests/ui/threads-sendsync/issue-4448.rs')
| -rw-r--r-- | tests/ui/threads-sendsync/issue-4448.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/threads-sendsync/issue-4448.rs b/tests/ui/threads-sendsync/issue-4448.rs index b8324a8c43f..1adebd1e252 100644 --- a/tests/ui/threads-sendsync/issue-4448.rs +++ b/tests/ui/threads-sendsync/issue-4448.rs @@ -7,7 +7,7 @@ use std::thread; pub fn main() { let (tx, rx) = channel::<&'static str>(); - let t = thread::spawn(move|| { + let t = thread::spawn(move || { assert_eq!(rx.recv().unwrap(), "hello, world"); }); |
