summaryrefslogtreecommitdiff
path: root/doc/api/zlib.md
diff options
context:
space:
mode:
authorParambir Singh <parambirs@gmail.com>2016-10-17 11:20:56 +1100
committerJames M Snell <jasnell@gmail.com>2016-10-17 09:24:50 -0700
commit1fcd088fd9648bcbab9789d8f00ce3208647a683 (patch)
tree8823b9bc38203c4754c39aa05a8046af2e63dd96 /doc/api/zlib.md
parent115bb04c0113907e625ee21b8b5b1a5625c6074c (diff)
downloadandroid-node-v8-1fcd088fd9648bcbab9789d8f00ce3208647a683.tar.gz
android-node-v8-1fcd088fd9648bcbab9789d8f00ce3208647a683.tar.bz2
android-node-v8-1fcd088fd9648bcbab9789d8f00ce3208647a683.zip
doc: fix typo in zlib.md
Change 'methods with throw an error' to 'methods will throw an error'. PR-URL: https://github.com/nodejs/node/pull/9123 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Teddy Katz <teddy.katz@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
Diffstat (limited to 'doc/api/zlib.md')
-rw-r--r--doc/api/zlib.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/zlib.md b/doc/api/zlib.md
index 1022dc2f5b..d12f782aa3 100644
--- a/doc/api/zlib.md
+++ b/doc/api/zlib.md
@@ -113,7 +113,7 @@ http.createServer((request, response) => {
}).listen(1337);
```
-By default, the `zlib` methods with throw an error when decompressing
+By default, the `zlib` methods will throw an error when decompressing
truncated data. However, if it is known that the data is incomplete, or
the desire is to inspect only the beginning of a compressed file, it is
possible to suppress the default error handling by changing the flushing