summaryrefslogtreecommitdiff
path: root/doc/api/net.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-12-06 10:15:58 -0800
committerRich Trott <rtrott@gmail.com>2017-12-07 13:49:53 -0800
commitde06dc92d150c1f999462a18c7594a5eea81225f (patch)
treee2135d603ad97a3dd4d2f803b562688ce49a48f2 /doc/api/net.md
parent86d386a07d3bb7d13c0b174f37cf2bc1d00dee51 (diff)
downloadandroid-node-v8-de06dc92d150c1f999462a18c7594a5eea81225f.tar.gz
android-node-v8-de06dc92d150c1f999462a18c7594a5eea81225f.tar.bz2
android-node-v8-de06dc92d150c1f999462a18c7594a5eea81225f.zip
doc: fix common typo involving one-time listeners
Our docs use both "one time listener" and "one-time listener". The second is more correct. Standardize on that. PR-URL: https://github.com/nodejs/node/pull/17502 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/net.md')
-rw-r--r--doc/api/net.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/net.md b/doc/api/net.md
index 04821ad2e9..03ed3d5cbc 100644
--- a/doc/api/net.md
+++ b/doc/api/net.md
@@ -802,7 +802,7 @@ socket.on('timeout', () => {
If `timeout` is 0, then the existing idle timeout is disabled.
-The optional `callback` parameter will be added as a one time listener for the
+The optional `callback` parameter will be added as a one-time listener for the
[`'timeout'`][] event.
### socket.unref()