Skip to content

Commit a20b774

Browse files
matthewleongibfahn
authored andcommitted
doc: fix typo in stream.md
PR-URL: #17357 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]>
1 parent 281a330 commit a20b774

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/stream.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2213,7 +2213,7 @@ object mode has an interesting side effect. Because it *is* a call to
22132213
However, because the argument is an empty string, no data is added to the
22142214
readable buffer so there is nothing for a user to consume.
22152215

2216-
### `highWaterMark` discrepency after calling `readable.setEncoding()`
2216+
### `highWaterMark` discrepancy after calling `readable.setEncoding()`
22172217

22182218
The use of `readable.setEncoding()` will change the behavior of how the
22192219
`highWaterMark` operates in non-object mode.
@@ -2264,7 +2264,7 @@ contain multi-byte characters.
22642264
[fs write streams]: fs.html#fs_class_fs_writestream
22652265
[http-incoming-message]: http.html#http_class_http_incomingmessage
22662266
[zlib]: zlib.html
2267-
[hwm-gotcha]: #stream_highwatermark_discrepency_after_calling_readable_setencoding
2267+
[hwm-gotcha]: #stream_highwatermark_discrepancy_after_calling_readable_setencoding
22682268
[stream-_flush]: #stream_transform_flush_callback
22692269
[stream-_read]: #stream_readable_read_size_1
22702270
[stream-_transform]: #stream_transform_transform_chunk_encoding_callback

0 commit comments

Comments
 (0)