Skip to content

Commit bdd91e0

Browse files
parambirsMyles Borins
authored andcommitted
doc: fix typo in zlib.md
Change 'methods with throw an error' to 'methods will throw an error'. PR-URL: #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>
1 parent fd006e5 commit bdd91e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/zlib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ http.createServer((request, response) => {
113113
}).listen(1337);
114114
```
115115

116-
By default, the `zlib` methods with throw an error when decompressing
116+
By default, the `zlib` methods will throw an error when decompressing
117117
truncated data. However, if it is known that the data is incomplete, or
118118
the desire is to inspect only the beginning of a compressed file, it is
119119
possible to suppress the default error handling by changing the flushing

0 commit comments

Comments
 (0)