doc: fix minor typo in streams.md

It appears that a `to` was left out in one sentence of the streams.md
doc. Add it.

PR-URL: https://github.com/nodejs/node/pull/23306
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Rich Trott authored and James M Snell committed 2018-10-17 11:22:28 -07:00
1 parent f9bb026e7f
commit 8079488f7b
1 file changed
+1 -1
+1 -1
View File
@@ -2327,7 +2327,7 @@ primarily for examples and testing, but there are some use cases where
Prior to Node.js 0.10, the `Readable` stream interface was simpler, but also
less powerful and less useful.
* Rather than waiting for calls the [`stream.read()`][stream-read] method,
* Rather than waiting for calls to the [`stream.read()`][stream-read] method,
[`'data'`][] events would begin emitting immediately. Applications that
would need to perform some amount of work to decide how to handle data
were required to store read data into buffers so the data would not be lost.