From e00e5e6d5dcf6689bcc38c74fe04c40e2d02a7d1 Mon Sep 17 00:00:00 2001 From: Joseph Gordon Date: Thu, 14 Jun 2018 15:09:49 -0500 Subject: [PATCH] doc: switch the order of Writable and Readable This change places the links to Writable stream and Readble stream in the order these sections appear when scrolling down the screen. PR-URL: https://github.com/nodejs/node/pull/21333 Reviewed-By: Vse Mozhet Byt Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig --- doc/api/stream.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index ce6a80157c5c61..fe0eae32ed8417 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -37,10 +37,10 @@ the elements of the API that are required to *implement* new types of streams. There are four fundamental stream types within Node.js: -* [`Readable`][] - streams from which data can be read (for example - [`fs.createReadStream()`][]). * [`Writable`][] - streams to which data can be written (for example [`fs.createWriteStream()`][]). +* [`Readable`][] - streams from which data can be read (for example + [`fs.createReadStream()`][]). * [`Duplex`][] - streams that are both `Readable` and `Writable` (for example [`net.Socket`][]). * [`Transform`][] - `Duplex` streams that can modify or transform the data as it