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 7d07a0b

Browse filesBrowse files
TrottFishrock123
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 2aa06b9 commit 7d07a0b
Copy full SHA for 7d07a0b

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
@@ -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

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
@@ -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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.