Skip to content

Commit d5d8a8d

Browse files
TrottMylesBorins
authored andcommitted
doc: fix typo in dgram doc
There is a typographical error in the dgram documentation. Reword to eliminate the error and increase clarity. PR-URL: #11186 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 59a1d00 commit d5d8a8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/dgram.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,8 @@ boolean `reuseAddr` field.
436436

437437
When `reuseAddr` is `true` [`socket.bind()`][] will reuse the address, even if
438438
another process has already bound a socket on it. `reuseAddr` defaults to
439-
`false`. An optional `callback` function can be passed specified which is added
440-
as a listener for `'message'` events.
439+
`false`. The optional `callback` function is added as a listener for `'message'`
440+
events.
441441

442442
Once the socket is created, calling [`socket.bind()`][] will instruct the
443443
socket to begin listening for datagram messages. When `address` and `port` are

0 commit comments

Comments
 (0)