From 5597c7290dab78c07c894df104ab26544a7cc375 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 18 Oct 2023 02:46:38 +0200 Subject: [PATCH] doc: fix typo in dgram docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/50211 Reviewed-By: Marco Ippolito Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen Reviewed-By: Vinícius Lourenço Claro Cardoso --- doc/api/dgram.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/dgram.md b/doc/api/dgram.md index f19e62bc7736bd..65d4a9f678cbd2 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -904,7 +904,7 @@ to exclude the socket from the reference counting that keeps the Node.js process active, allowing the process to exit even if the socket is still listening. -Calling `socket.unref()` multiple times will have no addition effect. +Calling `socket.unref()` multiple times will have no additional effect. The `socket.unref()` method returns a reference to the socket so calls can be chained.