Fix patterns chapter

This commit is contained in:
Florian Gilcher 2019-08-12 22:22:10 +02:00
parent 54f3732787
commit 52671bde02
No known key found for this signature in database
GPG key ID: E7B51D33F8EBF61B
2 changed files with 1 additions and 3 deletions

View file

@ -17,7 +17,7 @@
- [Proper Shutdown](./patterns/proper-shutdown.md)
- [Background Tasks](./patterns/background-tasks.md)
- [Testing](./patterns/testing.md)
- [Collected Small Patterns](./patters/small-patterns.md)
- [Collected Small Patterns](./patterns/small-patterns.md)
- [Security practices](./security/index.md)
- [Security disclosures and policy](./security/policy.md)
- [Glossary](./glossary.md)

View file

@ -2,8 +2,6 @@
A collection of small, useful patterns.
<!-- toc -->
## Splitting streams
`async-std` doesn't provide a `split()` method on `io` handles. Instead, splitting a stream into a read and write half can be done like this: