Skip to content

Commit abbfed8

Browse files
Trotttargos
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 <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent 09f2fd3 commit abbfed8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/stream.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1213,9 +1213,9 @@ added: v0.9.4
12131213
* `size` {number} Optional argument to specify how much data to read.
12141214
* Returns: {string|Buffer|null|any}
12151215

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

0 commit comments

Comments
 (0)