about summary refs log tree commit diff
path: root/tests/ui/threads-sendsync/yield.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/threads-sendsync/yield.rs')
-rw-r--r--tests/ui/threads-sendsync/yield.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/ui/threads-sendsync/yield.rs b/tests/ui/threads-sendsync/yield.rs
index 99d14bd92ea..c2b10b901cf 100644
--- a/tests/ui/threads-sendsync/yield.rs
+++ b/tests/ui/threads-sendsync/yield.rs
@@ -17,5 +17,9 @@ pub fn main() {
 }
 
 fn child() {
-    println!("4"); thread::yield_now(); println!("5"); thread::yield_now(); println!("6");
+    println!("4");
+    thread::yield_now();
+    println!("5");
+    thread::yield_now();
+    println!("6");
 }