Skip to content

Commit 6f5b5d1

Browse files
committed
doc: fix sentence about Http2Stream destruction
PR-URL: #28336 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent c81062a commit 6f5b5d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ All [`Http2Stream`][] instances are destroyed either when:
913913
* The `http2stream.destroy()` or `http2session.destroy()` methods are called.
914914

915915
When an `Http2Stream` instance is destroyed, an attempt will be made to send an
916-
`RST_STREAM` frame will be sent to the connected peer.
916+
`RST_STREAM` frame to the connected peer.
917917

918918
When the `Http2Stream` instance is destroyed, the `'close'` event will
919919
be emitted. Because `Http2Stream` is an instance of `stream.Duplex`, the

0 commit comments

Comments
 (0)