Skip to content

Commit

Permalink
Merge pull request #1926 from aleksator/patch-1
Browse files Browse the repository at this point in the history
Make the code not compile to match the text
  • Loading branch information
steveklabnik authored Sep 15, 2019
2 parents c7ad45b + 0e47382 commit e7cdfe1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ch16-02-message-passing.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ want to send over the channel.

<span class="filename">Filename: src/main.rs</span>

```rust
```rust,ignore,does_not_compile
use std::sync::mpsc;
fn main() {
let (tx, rx) = mpsc::channel();
# tx.send(()).unwrap();
}
```

Expand Down

0 comments on commit e7cdfe1

Please sign in to comment.