Skip to content

Commit 2b2e247

Browse files
mypetyaktaiki-e
authored andcommitted
Docs: document why pin_mut! is useful
1 parent 3ee436e commit 2b2e247

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/stack_pin.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/// Pins a value on the stack.
22
///
3+
/// Can safely pin values that are not `Unpin` by taking ownership.
4+
///
35
/// # Example
46
///
57
/// ```rust

0 commit comments

Comments
 (0)