diff options
author | Rich Trott <rtrott@gmail.com> | 2018-04-12 06:58:43 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-04-12 16:26:55 +0300 |
commit | 3bd6d8d7f544164728ff4cfd2c37cff4877a8cb1 (patch) | |
tree | 797f0c9a7e9ea78284f936efa3cb0d1f3e267280 /src/node_http_parser.cc | |
parent | 08155554bce6351d399c1a5e88f5007bf3255ac1 (diff) |
doc: fix errors in sample code comments
The errors thrown have changed in a few places. Update the comments to
reflect the current errors.
The `noAssert` option has been removed but it is still shown in sample
code in a few places. Remove that sample code.
PR-URL: https://github.com/nodejs/node/pull/19963
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'src/node_http_parser.cc')
0 files changed, 0 insertions, 0 deletions