From c9d9ddcbc99b04489ca378250c555a57af3aa050 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 6 Oct 2018 17:03:49 -0700 Subject: [PATCH] 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 Reviewed-By: Vse Mozhet Byt Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat Reviewed-By: Richard Lau Reviewed-By: James M Snell --- doc/api/stream.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index a77d8f21918a29..fb2f2da28d1a87 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -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.