diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-29 14:16:44 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-05-04 12:48:38 -0400 |
commit | abf11550b28cb45fa75b17265f7a9272aeac2a59 (patch) | |
tree | 268653fd32a4525d93214c396bdf4bf5f3e2f643 /doc/api/stream.md | |
parent | 261776d6b48d4d853f7a7da07abba48e2996dd1a (diff) | |
download | node-new-abf11550b28cb45fa75b17265f7a9272aeac2a59.tar.gz |
doc: add missing periods or colons
Some other formatting nits were fixed
and some superfluous descriptions were simplified in passing.
PR-URL: https://github.com/nodejs/node/pull/20401
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/stream.md')
-rw-r--r-- | doc/api/stream.md | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/api/stream.md b/doc/api/stream.md index 8c80816d79..8af12d12bf 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -2407,14 +2407,12 @@ The workaround in this situation is to call the ```js // Workaround net.createServer((socket) => { - socket.on('end', () => { socket.end('The message was received but was not processed.\n'); }); // start the flow of data, discarding it. socket.resume(); - }).listen(1337); ``` |