Commit bcce05db authored by Alexander Makarenko's avatar Alexander Makarenko Committed by Calvin Metcalf
Browse files

doc: make `writable.setDefaultEncoding()` return `this`

Let this function return `this` for parity with `readable.setEncoding()`.

PR-URL: https://github.com/nodejs/node/pull/5040
Fixes: https://github.com/nodejs/node/issues/5013



Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
Reviewed-By: default avatarCalvin Metcalf <calvin.metcalf@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent 62c31fe3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment