some minor formatting updates

This commit is contained in:
Carl Fredrik Samson
2020-04-09 00:43:25 +02:00
parent 882ea1bc2a
commit a90ff78349
21 changed files with 1954 additions and 1701 deletions

View File

@@ -614,9 +614,8 @@ we're soon finished.
## Bonus section: Fixing our self-referential generator and learning more about Pin
But now, let's prevent this problem using `Pin`. We'll discuss
`Pin` more in the next chapter, but you'll get an introduction here by just
reading the comments.
But now, let's prevent this problem using `Pin`. I've commented along the way to
make it easier to spot and understand the changes we need to make.
```rust
#![feature(optin_builtin_traits, negative_impls)] // needed to implement `!Unpin`