removed bad joke, i was tired then...
This commit is contained in:
@@ -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
|
example in Rust today using the `static` keyword on nightly. Try it for
|
||||||
yourself:
|
yourself:
|
||||||
|
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
#![feature(generators, generator_trait)]
|
#![feature(generators, generator_trait)]
|
||||||
use std::ops::{Generator, GeneratorState};
|
use std::ops::{Generator, GeneratorState};
|
||||||
|
|||||||
@@ -12,9 +12,8 @@
|
|||||||
We already got a brief introduction of `Pin` in the previous chapters, so we'll
|
We already got a brief introduction of `Pin` in the previous chapters, so we'll
|
||||||
start off without any further introduction.
|
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
|
Let's jump strait to some definitions and then create 10 rules to remember when
|
||||||
skills are rather poor, so we'll have to settle by writing them in markdown
|
we work with `Pin`.
|
||||||
(for now).
|
|
||||||
|
|
||||||
## Definitions
|
## Definitions
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user