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: #3248
Reviewed-By: Brendan Ashworth <[email protected]>
  • Loading branch information
fabiosantoscode authored and jasnell committed Oct 26, 2015
1 parent f6ea99f commit 172cccf
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 172cccf

Please sign in to comment.