Skip to content

Commit ee08c28

Browse files
committed
Cleanup trailing whitespace
1 parent be7581c commit ee08c28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

text/3336-maybe-dangling.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ the dangling `Box` was passed inside a `ManuallyDrop`, so there is no UB.
106106

107107
The 2nd example can be fixed by passing the closure in a `MaybeDangling`:
108108
```rust
109-
// Argument is passed as `MaybeDangling` since we might actually keep
110-
// it around after its lifetime ends (at which point the caller can
109+
// Argument is passed as `MaybeDangling` since we might actually keep
110+
// it around after its lifetime ends (at which point the caller can
111111
// start dropping memory it points to).
112112
fn thread(control: ..., closure: MaybeDangling<impl FnOnce() + 'lifetime>) {
113113
closure.into_inner()();

0 commit comments

Comments
 (0)