diff --git a/src/3_generators_pin.md b/src/3_generators_pin.md index 317f530..de9cb53 100644 --- a/src/3_generators_pin.md +++ b/src/3_generators_pin.md @@ -518,7 +518,6 @@ Thanks to [PR#45337][pr45337] you can actually run code like the one in our example in Rust today using the `static` keyword on nightly. Try it for yourself: - ```rust #![feature(generators, generator_trait)] use std::ops::{Generator, GeneratorState}; diff --git a/src/4_pin.md b/src/4_pin.md index f6439a1..c0a6980 100644 --- a/src/4_pin.md +++ b/src/4_pin.md @@ -12,9 +12,8 @@ We already got a brief introduction of `Pin` in the previous chapters, so we'll start off without any further introduction. -Let's jump strait to some definitions and then create a set of rules to remember. Let's call them the 10 commandments of Pinning. Unfortunately, my stonemasonry -skills are rather poor, so we'll have to settle by writing them in markdown -(for now). +Let's jump strait to some definitions and then create 10 rules to remember when +we work with `Pin`. ## Definitions