Skip to content

Commit be616f3

Browse files
author
Stjepan Glavina
authored
Update sending_messages.md
1 parent c61f4c8 commit be616f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/tutorial/sending_messages.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ if Alice and Charley send two messages to Bob at the same time, Bob will see the
1414
```rust
1515
use futures::channel::mpsc; // 1
1616
use futures::SinkExt;
17+
use std::sync::Arc;
1718

1819
type Sender<T> = mpsc::UnboundedSender<T>; // 2
1920
type Receiver<T> = mpsc::UnboundedReceiver<T>;

0 commit comments

Comments
 (0)