Skip to content

Commit a99bb39

Browse files
committed
rust: pin-init: fix Rust 1.90.0 doc(hidden) broken intra-doc link
Starting with Rust 1.90.0 (expected 2025-12-11), Rust checks intra-doc links in `doc(hidden)` items [1]: warning: unresolved link to `PinnedDrop` --> rust/pin-init/src/macros.rs:508:11 | 508 | /// See [`PinnedDrop`] for more information. | ^^^^^^^^^^ no item named `PinnedDrop` in scope | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default Thus fix it. Normally, we would fix the link, but there are other `PinnedDrop` mentions in the file without the intra-doc link, so stay consistent. Link: rust-lang/rust#147153 [1] Signed-off-by: Miguel Ojeda <[email protected]>
1 parent 3a86608 commit a99bb39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/pin-init/src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ pub use ::paste::paste;
505505

506506
/// Creates a `unsafe impl<...> PinnedDrop for $type` block.
507507
///
508-
/// See [`PinnedDrop`] for more information.
508+
/// See `PinnedDrop` for more information.
509509
#[doc(hidden)]
510510
#[macro_export]
511511
macro_rules! __pinned_drop {

0 commit comments

Comments
 (0)