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>
This commit is contained in:
Fábio Santos 2015-10-07 23:27:06 +01:00 committed by Brendan Ashworth
parent 81503e597b
commit 85b74de9de

View File

@ -1,5 +1,5 @@
// A bit simpler than readable streams. // 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. // the drain event emission and buffering.
'use strict'; 'use strict';