Skip to content

Commit

Permalink
stream: fix signature of _write() in a comment
Browse files Browse the repository at this point in the history
This comment was a bit misleading, since it was missing the `encoding`
argument.

PR-URL: nodejs#3248
Reviewed-By: Brendan Ashworth <[email protected]>
  • Loading branch information
fabiosantoscode authored and jasnell committed Oct 26, 2015
1 parent 590378c commit 7e043b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/_stream_writable.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 7e043b8

Please sign in to comment.