Skip to content

Commit 39b1770

Browse files
ronagBridgeAR
authored andcommitted
doc: make minor improvements to stream.md
PR-URL: #28970 Reviewed-By: Rich Trott <[email protected]>
1 parent 78cbdf3 commit 39b1770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/stream.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ added: v8.0.0
372372
* Returns: {this}
373373

374374
Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`
375-
event unless `emitClose` is set in `false`. After this call, the writable
375+
event (unless `emitClose` is set to `false`). After this call, the writable
376376
stream has ended and subsequent calls to `write()` or `end()` will result in
377377
an `ERR_STREAM_DESTROYED` error.
378378
This is a destructive and immediate way to destroy a stream. Previous calls to
@@ -932,7 +932,7 @@ added: v8.0.0
932932
* Returns: {this}
933933

934934
Destroy the stream. Optionally emit an `'error'` event, and emit a `'close'`
935-
event unless `emitClose` is set in `false`. After this call, the readable
935+
event (unless `emitClose` is set to `false`). After this call, the readable
936936
stream will release any internal resources and subsequent calls to `push()`
937937
will be ignored.
938938
Implementors should not override this method, but instead implement

0 commit comments

Comments
 (0)