summaryrefslogtreecommitdiff
path: root/doc/api/stream.md
diff options
context:
space:
mode:
authorMatthew Leon <ml@matthewleon.com>2017-11-27 15:33:36 -0500
committerJon Moss <me@jonathanmoss.me>2017-11-28 16:13:33 -0500
commit5ebcb7fcaff25e982d1d800f428682152ffa9298 (patch)
treea3eb84130c690b5432b419f85e144c381431f4f1 /doc/api/stream.md
parent093a87032984e3279ba585cdb935d4e5f92ebb68 (diff)
downloadandroid-node-v8-5ebcb7fcaff25e982d1d800f428682152ffa9298.tar.gz
android-node-v8-5ebcb7fcaff25e982d1d800f428682152ffa9298.tar.bz2
android-node-v8-5ebcb7fcaff25e982d1d800f428682152ffa9298.zip
doc: fix typo in stream.md
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc/api/stream.md')
-rw-r--r--doc/api/stream.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md
index f8d9df9e6a..dec3820222 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -2229,7 +2229,7 @@ object mode has an interesting side effect. Because it *is* a call to
However, because the argument is an empty string, no data is added to the
readable buffer so there is nothing for a user to consume.
-### `highWaterMark` discrepency after calling `readable.setEncoding()`
+### `highWaterMark` discrepancy after calling `readable.setEncoding()`
The use of `readable.setEncoding()` will change the behavior of how the
`highWaterMark` operates in non-object mode.
@@ -2280,7 +2280,7 @@ contain multi-byte characters.
[fs write streams]: fs.html#fs_class_fs_writestream
[http-incoming-message]: http.html#http_class_http_incomingmessage
[zlib]: zlib.html
-[hwm-gotcha]: #stream_highwatermark_discrepency_after_calling_readable_setencoding
+[hwm-gotcha]: #stream_highwatermark_discrepancy_after_calling_readable_setencoding
[stream-_flush]: #stream_transform_flush_callback
[stream-_read]: #stream_readable_read_size_1
[stream-_transform]: #stream_transform_transform_chunk_encoding_callback