From be616f35bfe02ffff81421652a452266a47b65d1 Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Thu, 22 Aug 2019 23:56:13 +0200 Subject: [PATCH] Update sending_messages.md --- docs/src/tutorial/sending_messages.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/src/tutorial/sending_messages.md b/docs/src/tutorial/sending_messages.md index da62ad5..0722bc0 100644 --- a/docs/src/tutorial/sending_messages.md +++ b/docs/src/tutorial/sending_messages.md @@ -14,6 +14,7 @@ if Alice and Charley send two messages to Bob at the same time, Bob will see the ```rust use futures::channel::mpsc; // 1 use futures::SinkExt; +use std::sync::Arc; type Sender = mpsc::UnboundedSender; // 2 type Receiver = mpsc::UnboundedReceiver;