Skip to content

Commit 771d77c

Browse files
authored
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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy