async-std/docs/src
Alejandro Martinez Ruiz ba1ee2d204 Fix a-chat tutorial issues (#573)
* tutorial/receiving_messages: fix future output type bound

* tutorial/receiving_messages: remove unneeded message trimming

Trimming was done twice on messages, so one of the two instances can
be removed. I personally think removing the first instance, in which
we are splitting names from messages makes the code more readable
than removing the second instance, but other examples further in
the tutorial show the second instance removed.

* tutorial/receiving_messages: declare use of TcpStream and io::BufReader

Readers couldn't see the `use` lines corresponding to these two
structures.

* tutorial/connecting_readers_and_writers: typos and grammar fixes

* tutorial/all_together: remove unneeded use async_std::io

* tutorial: use SinkExt consistently from futures::sink::SinkExt

* tutorial/handling_disconnection: hide mpsc use clause and remove empty lines

The empty lines translate to the output making it look weird.

* tutorial/handling_disconnection: fix typos

* tutorial/handling_disconnection: use ? in broker_handle.await

We were happy to return an Err variant from the broker_handle before
and nothing has changed in this regard, so bubbling it up to run().
2019-11-21 18:03:10 +01:00
..
concepts Typos and sentence structure fixes 2019-10-21 19:47:14 -03:00
images
overview update doc url 2019-11-15 14:33:34 +08:00
patterns Fix book tests 2019-08-25 04:34:41 -07:00
security Fix book tests 2019-08-25 04:34:41 -07:00
tutorial Fix a-chat tutorial issues (#573) 2019-11-21 18:03:10 +01:00
concepts.md small typos and edits in first few pages 2019-08-17 07:03:48 +10:00
glossary.md Copyedits for the book 2019-08-17 00:41:37 -05:00
introduction.md Copyedits for the book 2019-08-17 00:41:37 -05:00
patterns.md
SUMMARY.md