Skip to content

Commit

Permalink
doc: use consistent typography in streams.md
Browse files Browse the repository at this point in the history
In prose, always surround `null`-as-a-value in backticks.

PR-URL: #6986
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Robert Jefe Lindstaedt <robert.lindstaedt@gmail.com>
  • Loading branch information
Trott authored and evanlucas committed Jun 15, 2016
1 parent d6091c8 commit 7121201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1856,7 +1856,7 @@ pre-v0.10 style streams can be wrapped in a Readable class using the
There are some cases where it is necessary to trigger a refresh of the
underlying readable stream mechanisms, without actually consuming any
data. In such cases, it is possible to call `readable.read(0)`, which will
always return null.
always return `null`.

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

0 comments on commit 7121201

Please sign in to comment.