Skip to content

Commit 2bea4bd

Browse files
Trottdanielleadams
authored andcommitted
doc: add missing word in readable.read() text
This adds a missing _is_ in the readable.read() text and makes small style adjustments. PR-URL: #41524 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
1 parent 40c0960 commit 2bea4bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/stream.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,9 +1211,9 @@ added: v0.9.4
12111211
* `size` {number} Optional argument to specify how much data to read.
12121212
* Returns: {string|Buffer|null|any}
12131213

1214-
The `readable.read()` method pulls some data out of the internal buffer and
1215-
returns it. If no data available to be read, `null` is returned. By default,
1216-
the data will be returned as a `Buffer` object unless an encoding has been
1214+
The `readable.read()` method reads data out of the internal buffer and
1215+
returns it. If no data is available to be read, `null` is returned. By default,
1216+
the data is returned as a `Buffer` object unless an encoding has been
12171217
specified using the `readable.setEncoding()` method or the stream is operating
12181218
in object mode.
12191219

0 commit comments

Comments
 (0)