summaryrefslogtreecommitdiff
path: root/lib/_stream_writable.js
diff options
context:
space:
mode:
authorFábio Santos <fabiosantosart@gmail.com>2015-10-07 23:27:06 +0100
committerBrendan Ashworth <brendan.ashworth@me.com>2015-10-13 22:32:21 -0700
commit85b74de9debab7515b04ae7be7c4fb69232a2f79 (patch)
treeb77a3a0817f05f0cebb02dc57e66642825fdb66d /lib/_stream_writable.js
parent81503e597bbddfe210a627eaddea827ad0e01e44 (diff)
downloadnode-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.js2
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';