We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c17185 commit bfaa9c5Copy full SHA for bfaa9c5
docs/src/tutorial/connecting_readers_and_writers.md
@@ -21,10 +21,7 @@ The order of events "Bob sends message to Alice" and "Alice joins" is determined
21
# };
22
# use futures::channel::mpsc;
23
# use futures::SinkExt;
24
-# use std::{
25
-# collections::hash_map::{Entry, HashMap},
26
-# sync::Arc,
27
-# };
+# use std::sync::Arc;
28
#
29
# type Result<T> = std::result::Result<T, Box<dyn std::error::Error + Send + Sync>>;
30
# type Sender<T> = mpsc::UnboundedSender<T>;
@@ -52,6 +49,8 @@ The order of events "Bob sends message to Alice" and "Alice joins" is determined
52
49
# })
53
50
# }
54
51
+use std::collections::hash_map::{Entry, HashMap};
+
55
#[derive(Debug)]
56
enum Event { // 1
57
NewPeer {
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments