2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-30 09:15:33 +00:00

Remove the numbering of the remaining previous chapters

This commit is contained in:
kokihonda 2021-09-21 10:26:16 +09:00
parent a2f5859862
commit dd2749ca35

View file

@ -124,8 +124,8 @@ async fn broker_loop(mut events: Receiver<Event>) -> Result<()> {
Entry::Occupied(..) => (), Entry::Occupied(..) => (),
Entry::Vacant(entry) => { Entry::Vacant(entry) => {
let (client_sender, client_receiver) = mpsc::unbounded(); let (client_sender, client_receiver) = mpsc::unbounded();
entry.insert(client_sender); // 4 entry.insert(client_sender);
spawn_and_log_error(connection_writer_loop(client_receiver, stream)); // 5 spawn_and_log_error(connection_writer_loop(client_receiver, stream));
} }
} }
} }