From 64e247223a87012b81c3cde948fed23fb3a8c86e 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. --- std/src/sys/thread_local/guard/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/src/sys/thread_local/guard/windows.rs b/std/src/sys/thread_local/guard/windows.rs index 7ee8e695c753f..1752b0e1208af 100644 --- a/std/src/sys/thread_local/guard/windows.rs +++ b/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?