diff --git a/doc/api/stream.markdown b/doc/api/stream.markdown index d3422e31cbb8a1..943718660cbcb8 100644 --- a/doc/api/stream.markdown +++ b/doc/api/stream.markdown @@ -567,10 +567,8 @@ Flush all data, buffered since `.cork()` call. #### writable.setDefaultEncoding(encoding) * `encoding` {String} The new default encoding -* Return: `Boolean` -Sets the default encoding for a writable stream. Returns `true` if the encoding -is valid and is set. Otherwise returns `false`. +Sets the default encoding for a writable stream. #### writable.end([chunk][, encoding][, callback])