projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e69c869
)
stream: fix signature of _write() in a comment
author
Fábio Santos
<fabiosantosart@gmail.com>
Wed, 7 Oct 2015 22:27:06 +0000
(23:27 +0100)
committer
James 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
patch
|
blob
|
history
diff --git
a/lib/_stream_writable.js
b/lib/_stream_writable.js
index
19c0c8a
..
9c7e263
100644
(file)
--- a/
lib/_stream_writable.js
+++ b/
lib/_stream_writable.js
@@
-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';