Skip to content

Commit c4c8b3b

Browse files
Trottrvagg
authored andcommitted
doc: fix dgram doc indentation
PR-URL: #5118 Reviewed-By: Roman Reiss <[email protected]>
1 parent f0bd176 commit c4c8b3b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/api/dgram.markdown

+2-1
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ s.bind(1234, () => {
358358
## `dgram` module functions
359359

360360
### dgram.createSocket(options[, callback])
361+
361362
* `options` Object
362363
* `callback` Function. Attached as a listener to `'message'` events.
363364
* Returns: Socket object
@@ -378,7 +379,7 @@ interfaces" address on a random port (it does the right thing for both `udp4`
378379
and `udp6` sockets). The bound address and port can be retrieved using
379380
[`socket.address().address`][] and [`socket.address().port`][].
380381

381-
## dgram.createSocket(type[, callback])
382+
### dgram.createSocket(type[, callback])
382383

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

0 commit comments

Comments
 (0)