Skip to content

Commit 584f098

Browse files
fu5haManishearth
authored andcommittedJan 7, 2024
fix broken links
1 parent ba3b934 commit 584f098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎library/core/src/pin.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@
296296
//! # Examples of address-sensitive types
297297
//! [address-sensitive-examples]: #examples-of-address-sensitive-types
298298
//!
299-
//! ## Self-referential struct
299+
//! ## A self-referential struct
300300
//! [self-ref]: #a-self-referential-struct
301301
//! [`Unmovable`]: #a-self-referential-struct
302302
//!
@@ -425,7 +425,7 @@
425425
//! This point is subtle but required for intrusive data structures to be implemented soundly.
426426
//!
427427
//! ## `Drop` guarantee
428-
//! [drop-guarantee]: #notice-of-destruction
428+
//! [drop-guarantee]: self#drop-guarantee
429429
//!
430430
//! There needs to be a way for a pinned value to notify any code that is relying on its pinned
431431
//! status that it is about to be destroyed, so that such code can remove its address from their

0 commit comments

Comments
 (0)