Skip to content

Commit d9b905e

Browse files
committed
fixup: remove unnecessary brackets
1 parent ed310e7 commit d9b905e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/api/net.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ Possible signatures:
192192
* [`server.listen(options[, callback])`][`server.listen(options)`]
193193
* [`server.listen(path[, backlog][, callback])`][`server.listen(path)`]
194194
for [IPC][] servers
195-
* [`server.listen([[[port[, host[, backlog]]][, callback])`][`server.listen(port, host)`]
195+
* [`server.listen([port[, host[, backlog]]][, callback])`][`server.listen(port, host)`]
196196
for TCP servers
197197

198198
This function is asynchronous. When the server starts listening, the
@@ -264,7 +264,7 @@ added: v0.11.14
264264
* Returns: {net.Server}
265265

266266
If `port` is specified, it behaves the same as
267-
[`server.listen([[[port[, host[, backlog]]][, callback])`][`server.listen(port, host)`].
267+
[`server.listen([port[, host[, backlog]]][, callback])`][`server.listen(port, host)`].
268268
Otherwise, if `path` is specified, it behaves the same as
269269
[`server.listen(path[, backlog][, callback])`][`server.listen(path)`].
270270
If none of them is specified, an error will be thrown.
@@ -296,7 +296,7 @@ added: v0.1.90
296296

297297
Start a [IPC][] server listening for connections on the given `path`.
298298

299-
#### server.listen([[[port[, host[, backlog]]][, callback])
299+
#### server.listen([port[, host[, backlog]]][, callback])
300300
<!-- YAML
301301
added: v0.1.90
302302
-->

0 commit comments

Comments
 (0)