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 authored and Michaël Zasso committed 2018-06-16 10:37:38 +02:00
1 parent dfb5cf6963
commit e00e5e6d5d
1 file changed
+2 -2
+2 -2
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