Fix patterns chapter

integrate-threads-example
Florian Gilcher 5 years ago
parent 54f3732787
commit 52671bde02
No known key found for this signature in database
GPG Key ID: E7B51D33F8EBF61B

@ -17,7 +17,7 @@
- [Proper Shutdown](./patterns/proper-shutdown.md) - [Proper Shutdown](./patterns/proper-shutdown.md)
- [Background Tasks](./patterns/background-tasks.md) - [Background Tasks](./patterns/background-tasks.md)
- [Testing](./patterns/testing.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 practices](./security/index.md)
- [Security disclosures and policy](./security/policy.md) - [Security disclosures and policy](./security/policy.md)
- [Glossary](./glossary.md) - [Glossary](./glossary.md)

@ -2,8 +2,6 @@
A collection of small, useful patterns. A collection of small, useful patterns.
<!-- toc -->
## Splitting streams ## 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: `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:

Loading…
Cancel
Save