Skip to content

Commit

Permalink
doc: fix typo in zlib.md
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
parambirs authored and jasnell committed Oct 17, 2016
1 parent 260f41f commit e6d1d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/zlib.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6d1d54

Please sign in to comment.