Skip to content

Commit 5035a17

Browse files
committedJun 21, 2024
fix rustdoc URL
1 parent 1530977 commit 5035a17

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎std/src/sys/pal/common/exit_guard.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cfg_if::cfg_if! {
22
if #[cfg(target_os = "linux")] {
3-
/// Mitigation for https://github.com/rust-lang/rust/issues/126600
3+
/// Mitigation for <https://github.com/rust-lang/rust/issues/126600>
44
///
55
/// On `unix` (where `libc::exit` may not be thread-safe), ensure that only one Rust thread
66
/// calls `libc::exit` (or returns from `main`) by calling this function before calling
@@ -78,9 +78,10 @@ cfg_if::cfg_if! {
7878
}
7979
}
8080
} else {
81-
/// Mitigation for https://github.com/rust-lang/rust/issues/126600
81+
/// Mitigation for <https://github.com/rust-lang/rust/issues/126600>
8282
///
83-
/// Mitigation is ***NOT*** implemented on this platform, either because this platform is not affected, or because mitigation is not yet implemented for this platform.
83+
/// Mitigation is ***NOT*** implemented on this platform, either because this platform
84+
/// is not affected, or because mitigation is not yet implemented for this platform.
8485
pub(crate) fn unique_thread_exit() {
8586
// Mitigation not required on platforms where `exit` is thread-safe.
8687
}

0 commit comments

Comments
 (0)