Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a20b774

Browse filesBrowse files
matthewleongibfahn
authored andcommitted
doc: fix typo in stream.md
PR-URL: #17357 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 281a330 commit a20b774
Copy full SHA for a20b774

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/stream.md‎

Copy file name to clipboardExpand all lines: doc/api/stream.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.