Skip to content

Commit e6d1d54

Browse files
parambirsjasnell
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 <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Teddy Katz <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]>
1 parent 260f41f commit e6d1d54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/zlib.md

+1-1
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)