From 102fac7af6152653823586e1666d9322e6ca7eae Mon Sep 17 00:00:00 2001 From: Houtamelo <88971943+Houtamelo@users.noreply.github.com> Date: Sat, 2 Nov 2024 04:09:17 -0300 Subject: [PATCH] Remove unintended link Since `#[link_section]` is enclosed in braces, it was being confused with a link during docs compilation. --- library/std/src/sys/thread_local/guard/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sys/thread_local/guard/windows.rs b/library/std/src/sys/thread_local/guard/windows.rs index 7ee8e695c75..1752b0e1208 100644 --- a/library/std/src/sys/thread_local/guard/windows.rs +++ b/library/std/src/sys/thread_local/guard/windows.rs @@ -26,7 +26,7 @@ //! This apparently translates to any callbacks in the ".CRT$XLB" section //! being run on certain events. //! -//! So after all that, we use the compiler's #[link_section] feature to place +//! So after all that, we use the compiler's `#[link_section]` feature to place //! a callback pointer into the magic section so it ends up being called. //! //! # What's up with this callback?