summaryrefslogtreecommitdiff
path: root/doc/api/net.md
diff options
context:
space:
mode:
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()