about summary refs log tree commit diff
path: root/tests/ui/threads-sendsync/yield1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/threads-sendsync/yield1.rs')
-rw-r--r--tests/ui/threads-sendsync/yield1.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/ui/threads-sendsync/yield1.rs b/tests/ui/threads-sendsync/yield1.rs
index c965d2fc303..441e93ecf90 100644
--- a/tests/ui/threads-sendsync/yield1.rs
+++ b/tests/ui/threads-sendsync/yield1.rs
@@ -13,4 +13,6 @@ pub fn main() {
     result.join();
 }
 
-fn child() { println!("2"); }
+fn child() {
+    println!("2");
+}