diff options
Diffstat (limited to 'rust/pin-init')
| -rw-r--r-- | rust/pin-init/README.md | 2 | ||||
| -rw-r--r-- | rust/pin-init/src/macros.rs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/rust/pin-init/README.md b/rust/pin-init/README.md index 723e275445d4..74bbb4e0a2f7 100644 --- a/rust/pin-init/README.md +++ b/rust/pin-init/README.md @@ -9,7 +9,7 @@ > [!NOTE] > > This crate was originally named [`pinned-init`], but the migration to -> `pin-init` is not yet complete. The `legcay` branch contains the current +> `pin-init` is not yet complete. The `legacy` branch contains the current > version of the `pinned-init` crate & the `main` branch already incorporates > the rename to `pin-init`. > diff --git a/rust/pin-init/src/macros.rs b/rust/pin-init/src/macros.rs index d6acf2cd291e..682c61a587a0 100644 --- a/rust/pin-init/src/macros.rs +++ b/rust/pin-init/src/macros.rs @@ -506,6 +506,8 @@ pub use ::paste::paste; /// Creates a `unsafe impl<...> PinnedDrop for $type` block. /// /// See [`PinnedDrop`] for more information. +/// +/// [`PinnedDrop`]: crate::PinnedDrop #[doc(hidden)] #[macro_export] macro_rules! __pinned_drop { |
