Skip to content

Commit 4300bea

Browse files
committed
Formatting.
1 parent f521779 commit 4300bea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

library/std/src/thread/scoped.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ where
116116
// Throw any panic from `f`, or the return value of `f` if no thread panicked.
117117
match result {
118118
Err(e) => resume_unwind(e),
119-
Ok(_) if scope.data.a_thread_panicked.load(Ordering::Relaxed) => panic!("a thread panicked"),
119+
Ok(_) if scope.data.a_thread_panicked.load(Ordering::Relaxed) => {
120+
panic!("a thread panicked")
121+
}
120122
Ok(result) => result,
121123
}
122124
}

0 commit comments

Comments
 (0)