Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 066cefb

Browse filesBrowse files
TrottMyles Borins
authored andcommitted
doc: improve usage of zero/0
PR-URL: #7466 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Bryan English <bryan@bryanenglish.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent a488892 commit 066cefb
Copy full SHA for 066cefb

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/http.md‎

Copy file name to clipboardExpand all lines: doc/api/http.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ a listener for the `'listening'` event. See also [`net.Server.listen(path)`][].
540540
Begin accepting connections on the specified `port` and `hostname`. If the
541541
`hostname` is omitted, the server will accept connections on any IPv6 address
542542
(`::`) when IPv6 is available, or any IPv4 address (`0.0.0.0`) otherwise. Use a
543-
port value of zero to have the operating system assign an available port.
543+
port value of `0` to have the operating system assign an available port.
544544

545545
To listen to a unix socket, supply a filename instead of port and hostname.
546546

Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ code without properly recovering from the exception can cause additional
123123
unforeseen and unpredictable issues.
124124

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

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.