Skip to content

Commit

Permalink
Ch. 17: Remove completed TODO for Pin 🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Jun 13, 2024
1 parent a1eb8ae commit 911167d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/ch17-03-more-futures.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@ above—but that was in terms of `Unpin`, not `Pin`. So what exactly are `Pin` a
`Unpin`, how do they relate, and why does `Future` need `self` to be in a `Pin`
type to call `poll`?

<!-- TODO: keep going here: define `Pin`. -->

<!--
- Pin pins the thing behind a pointer (just using the Rust type system! No
compiler magic required)
- The reason is what async compiles to. Refer to the discussion of state
-->

In [“Futures and Syntax: What Are Futures”][what-are-futures], we described how
a series of await points in a future get compiled into a state machine—and noted
how the compiler helps make sure that state machine follows all of Rust’s normal
Expand Down

0 comments on commit 911167d

Please sign in to comment.