Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 771d77c

Browse files
authoredNov 2, 2024
Rollup merge of rust-lang#132495 - Houtamelo:remove_unintended_link, r=jieyouxu
Remove unintended link Since `#[link_section]` is enclosed in braces, it was being confused with a link during docs compilation. This caused compilation to fail when running `x dist` since it emitted a warning regarding broken links.
2 parents d99f3cf + 64e2472 commit 771d77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎std/src/sys/thread_local/guard/windows.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
//! This apparently translates to any callbacks in the ".CRT$XLB" section
2727
//! being run on certain events.
2828
//!
29-
//! So after all that, we use the compiler's #[link_section] feature to place
29+
//! So after all that, we use the compiler's `#[link_section]` feature to place
3030
//! a callback pointer into the magic section so it ends up being called.
3131
//!
3232
//! # What's up with this callback?

0 commit comments

Comments
 (0)
Failed to load comments.