From 9dd47bcf99e9ffc9fb7dd5b0625d5b26c231f118 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 4d7fe67c4c7340..bcec902afb6228 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2318,7 +2318,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.