diff options
author | Fábio Santos <fabiosantosart@gmail.com> | 2015-10-07 23:27:06 +0100 |
---|---|---|
committer | Brendan Ashworth <brendan.ashworth@me.com> | 2015-10-13 22:32:21 -0700 |
commit | 85b74de9debab7515b04ae7be7c4fb69232a2f79 (patch) | |
tree | b77a3a0817f05f0cebb02dc57e66642825fdb66d /lib/_stream_writable.js | |
parent | 81503e597bbddfe210a627eaddea827ad0e01e44 (diff) | |
download | node-new-85b74de9debab7515b04ae7be7c4fb69232a2f79.tar.gz |
stream: fix signature of _write() in a comment
This comment was a bit misleading, since it was missing the `encoding`
argument.
PR-URL: https://github.com/nodejs/node/pull/3248
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
Diffstat (limited to 'lib/_stream_writable.js')
-rw-r--r-- | lib/_stream_writable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_stream_writable.js b/lib/_stream_writable.js index 19c0c8a006..9c7e263016 100644 --- a/lib/_stream_writable.js +++ b/lib/_stream_writable.js @@ -1,5 +1,5 @@ // A bit simpler than readable streams. -// Implement an async ._write(chunk, cb), and it'll handle all +// Implement an async ._write(chunk, encoding, cb), and it'll handle all // the drain event emission and buffering. 'use strict'; |