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 <brendan.ashworth@me.com>
  • Loading branch information
fabiosantoscode authored and jasnell committed Oct 29, 2015
1 parent e69c869 commit 117fb47
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 117fb47

Please sign in to comment.