summaryrefslogtreecommitdiff
path: root/doc/api/util.markdown
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-01-11 10:18:46 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-01-11 10:18:46 -0800
commitb92329667ff1f32a112e277bbb3cd6bc192c6f6d (patch)
treea84e7508d02a169cfd229ca958d6a426c6fceb60 /doc/api/util.markdown
parent6f5d95de6df6dad23b908fb15ad1a823b9d9a4d1 (diff)
downloadnode-b92329667ff1f32a112e277bbb3cd6bc192c6f6d.tar.gz
Fix spelling mistakes
Diffstat (limited to 'doc/api/util.markdown')
-rw-r--r--doc/api/util.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/util.markdown b/doc/api/util.markdown
index 607623965..0935860c8 100644
--- a/doc/api/util.markdown
+++ b/doc/api/util.markdown
@@ -39,12 +39,12 @@ Example of inspecting all properties of the `util` object:
console.log(util.inspect(util, true, null));
-### util.pump(readableStream, writeableStream, [callback])
+### util.pump(readableStream, writableStream, [callback])
Experimental
Read the data from `readableStream` and send it to the `writableStream`.
-When `writeableStream.write(data)` returns `false` `readableStream` will be
+When `writableStream.write(data)` returns `false` `readableStream` will be
paused until the `drain` event occurs on the `writableStream`. `callback` gets
an error as its only argument and is called when `writableStream` is closed or
when an error occurs.