Rollup merge of #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.
This commit is contained in:
Matthias Krüger 2024-11-02 12:14:15 +01:00 committed by GitHub
commit c4024585a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,7 +26,7 @@
//! This apparently translates to any callbacks in the ".CRT$XLB" section //! This apparently translates to any callbacks in the ".CRT$XLB" section
//! being run on certain events. //! 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. //! a callback pointer into the magic section so it ends up being called.
//! //!
//! # What's up with this callback? //! # What's up with this callback?