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 <vsemozhetbyt@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
Joseph Gordon 2018-06-14 15:09:49 -05:00 committed by Vse Mozhet Byt
parent a24b691c6c
commit dcad7c93fb

View File

@ -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