From f7c91154e269021d68dc88c74fda68f66d8be69b Mon Sep 17 00:00:00 2001 From: Parambir Singh Date: Mon, 17 Oct 2016 11:20:56 +1100 Subject: [PATCH] doc: fix typo (zlib) Change 'methods with throw an error' to 'methods will throw an error'. --- doc/api/zlib.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/zlib.md b/doc/api/zlib.md index 1022dc2f5ba26f..d12f782aa31c1e 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