Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Jan 4, 2022
1 parent f521779 commit 4300bea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/std/src/thread/scoped.rs
Expand Up @@ -116,7 +116,9 @@ where
// Throw any panic from `f`, or the return value of `f` if no thread panicked.
match result {
Err(e) => resume_unwind(e),
Ok(_) if scope.data.a_thread_panicked.load(Ordering::Relaxed) => panic!("a thread panicked"),
Ok(_) if scope.data.a_thread_panicked.load(Ordering::Relaxed) => {
panic!("a thread panicked")
}
Ok(result) => result,
}
}
Expand Down

0 comments on commit 4300bea

Please sign in to comment.