Skip to content

Commit 7d07a0b

Browse files
TrottFishrock123
authored andcommitted
doc: improve usage of zero/0
PR-URL: #7466 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Bryan English <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 2aa06b9 commit 7d07a0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ added: v0.1.90
699699
Begin accepting connections on the specified `port` and `hostname`. If the
700700
`hostname` is omitted, the server will accept connections on any IPv6 address
701701
(`::`) when IPv6 is available, or any IPv4 address (`0.0.0.0`) otherwise. Use a
702-
port value of zero to have the operating system assign an available port.
702+
port value of `0` to have the operating system assign an available port.
703703

704704
To listen to a unix socket, supply a filename instead of port and hostname.
705705

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ code without properly recovering from the exception can cause additional
183183
unforeseen and unpredictable issues.
184184

185185
Exceptions thrown from within the event handler will not be caught. Instead the
186-
process will exit with a non zero exit code and the stack trace will be printed.
186+
process will exit with a non-zero exit code and the stack trace will be printed.
187187
This is to avoid infinite recursion.
188188

189189
Attempting to resume normally after an uncaught exception can be similar to

0 commit comments

Comments
 (0)