Skip to content

Commit 394556e

Browse files
committed
doc: fix dgram doc indentation
PR-URL: nodejs#5118 Reviewed-By: Roman Reiss <[email protected]>
1 parent 791eef0 commit 394556e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/dgram.markdown

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ s.bind(1234, () => {
377377
## `dgram` module functions
378378

379379
### dgram.createSocket(options[, callback])
380+
380381
* `options` Object
381382
* `callback` Function. Attached as a listener to `'message'` events.
382383
* Returns: Socket object
@@ -397,7 +398,7 @@ interfaces" address on a random port (it does the right thing for both `udp4`
397398
and `udp6` sockets). The bound address and port can be retrieved using
398399
[`socket.address().address`][] and [`socket.address().port`][].
399400

400-
## dgram.createSocket(type[, callback])
401+
### dgram.createSocket(type[, callback])
401402

402403
* `type` String. Either 'udp4' or 'udp6'
403404
* `callback` Function. Attached as a listener to `'message'` events.

0 commit comments

Comments
 (0)