Skip to content

Commit fac70d8

Browse files
authored
Rollup merge of rust-lang#95894 - nyanpasu64:fix-pin-docs, r=Dylan-DPC
Fix formatting error in pin.rs docs Not sure if there's more formatting issues I missed; I kinda lost interest reading midway through.
2 parents 21ed87b + bb3a071 commit fac70d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
//! relies on pinning requires unsafe code, but be aware that deciding to make
176176
//! use of pinning in your type (for example by implementing some operation on
177177
//! <code>[Pin]<[&]Self></code> or <code>[Pin]<[&mut] Self></code>) has consequences for your
178-
//! [`Drop`][Drop]implementation as well: if an element of your type could have been pinned,
178+
//! [`Drop`][Drop] implementation as well: if an element of your type could have been pinned,
179179
//! you must treat [`Drop`][Drop] as implicitly taking <code>[Pin]<[&mut] Self></code>.
180180
//!
181181
//! For example, you could implement [`Drop`][Drop] as follows:

0 commit comments

Comments
 (0)