about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZachary S <zasample18+github@gmail.com>2024-06-20 22:18:46 -0500
committerZachary S <zasample18+github@gmail.com>2024-06-20 22:18:46 -0500
commitbff35313972b0d3e248a39cf5a2d03d916ba56d2 (patch)
tree7a46e1cc182946b6cc8df0baaa32e6dd4e49418c
parente71d06be1079db18c39b7088414380d94ce5a8f4 (diff)
downloadrust-bff35313972b0d3e248a39cf5a2d03d916ba56d2.tar.gz
rust-bff35313972b0d3e248a39cf5a2d03d916ba56d2.zip
fix rustdoc URL
-rw-r--r--library/std/src/sys/pal/common/exit_guard.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/library/std/src/sys/pal/common/exit_guard.rs b/library/std/src/sys/pal/common/exit_guard.rs
index 3a0398a6598..49d3b4a96f0 100644
--- a/library/std/src/sys/pal/common/exit_guard.rs
+++ b/library/std/src/sys/pal/common/exit_guard.rs
@@ -1,6 +1,6 @@
 cfg_if::cfg_if! {
     if #[cfg(target_os = "linux")] {
-        /// Mitigation for https://github.com/rust-lang/rust/issues/126600
+        /// Mitigation for <https://github.com/rust-lang/rust/issues/126600>
         ///
         /// On `unix` (where `libc::exit` may not be thread-safe), ensure that only one Rust thread
         /// calls `libc::exit` (or returns from `main`) by calling this function before calling
@@ -78,9 +78,10 @@ cfg_if::cfg_if! {
             }
         }
     } else {
-        /// Mitigation for https://github.com/rust-lang/rust/issues/126600
+        /// Mitigation for <https://github.com/rust-lang/rust/issues/126600>
         ///
-        /// Mitigation is ***NOT*** implemented on this platform, either because this platform is not affected, or because mitigation is not yet implemented for this platform.
+        /// Mitigation is ***NOT*** implemented on this platform, either because this platform
+        /// is not affected, or because mitigation is not yet implemented for this platform.
         pub(crate) fn unique_thread_exit() {
             // Mitigation not required on platforms where `exit` is thread-safe.
         }