Skip to content

Commit 7121201

Browse files
Trottevanlucas
authored andcommitted
doc: use consistent typography in streams.md
In prose, always surround `null`-as-a-value in backticks. PR-URL: #6986 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Robert Jefe Lindstaedt <[email protected]>
1 parent d6091c8 commit 7121201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1856,7 +1856,7 @@ pre-v0.10 style streams can be wrapped in a Readable class using the
18561856
There are some cases where it is necessary to trigger a refresh of the
18571857
underlying readable stream mechanisms, without actually consuming any
18581858
data. In such cases, it is possible to call `readable.read(0)`, which will
1859-
always return null.
1859+
always return `null`.
18601860

18611861
If the internal read buffer is below the `highWaterMark`, and the
18621862
stream is not currently reading, then calling `stream.read(0)` will trigger

0 commit comments

Comments
 (0)