stream: fix signature of _write() in a comment
authorFábio Santos <fabiosantosart@gmail.com>
Wed, 7 Oct 2015 22:27:06 +0000 (23:27 +0100)
committerJames M Snell <jasnell@gmail.com>
Thu, 29 Oct 2015 15:38:40 +0000 (08:38 -0700)
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>
lib/_stream_writable.js

index 19c0c8a..9c7e263 100644 (file)
@@ -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';