File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1240,8 +1240,8 @@ impl<Ptr: Deref> Pin<Ptr> {
12401240 /// points to is pinned, that is a violation of the API contract and may lead to undefined
12411241 /// behavior in later (even safe) operations.
12421242 ///
1243- /// By using this method, you are also making a promise about the [`Deref`] and
1244- /// [`DerefMut`] implementations of `Ptr`, if they exist. Most importantly, they
1243+ /// By using this method, you are also making a promise about the [`Deref`],
1244+ /// [`DerefMut`], and [`Drop`] implementations of `Ptr`, if they exist. Most importantly, they
12451245 /// must not move out of their `self` arguments: `Pin::as_mut` and `Pin::as_ref`
12461246 /// will call `DerefMut::deref_mut` and `Deref::deref` *on the pointer type `Ptr`*
12471247 /// and expect these methods to uphold the pinning invariants.
You can’t perform that action at this time.
0 commit comments