Skip to content

Commit

Permalink
Remove unintended link
Browse files Browse the repository at this point in the history
Since `#[link_section]` is enclosed in braces, it was being confused with a link during docs compilation.
  • Loading branch information
Houtamelo authored Nov 2, 2024
1 parent ecd55b1 commit 64e2472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/src/sys/thread_local/guard/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 64e2472

Please sign in to comment.