Skip to content
This repository
Browse code

Doc improvements

Fixes #1147.
Fixes #1139.
Fixes #1126.
Thanks ctide, kext, disfated.
  • Loading branch information...
commit 0cb4484d433ce0dc27015f18159c2e9d0c601081 1 parent f23c45f
ry authored June 03, 2011
2  doc/api/crypto.markdown
Source Rendered
@@ -108,7 +108,7 @@ The `output_decoding` specifies in what format to return the deciphered plaintex
108 108
 ### decipher.final(output_encoding='binary')
109 109
 
110 110
 Returns any remaining plaintext which is deciphered,
111  
-with `output_encoding' being one of: `'binary'`, `'ascii'` or `'utf8'`.
  111
+with `output_encoding` being one of: `'binary'`, `'ascii'` or `'utf8'`.
112 112
 
113 113
 
114 114
 ### crypto.createSign(algorithm)
7  doc/api/fs.markdown
Source Rendered
@@ -103,14 +103,15 @@ See the [fs.Stats](#fs.Stats) section below for more information.
103 103
 ### fs.lstat(path, [callback])
104 104
 
105 105
 Asynchronous lstat(2). The callback gets two arguments `(err, stats)` where
106  
-`stats` is a `fs.Stats` object. lstat() is identical to stat(), except that if
107  
-path is a symbolic link, then the link itself is stat-ed, not the file that it
  106
+`stats` is a `fs.Stats` object. `lstat()` is identical to `stat()`, except that if
  107
+`path` is a symbolic link, then the link itself is stat-ed, not the file that it
108 108
 refers to.
109 109
 
110 110
 ### fs.fstat(fd, [callback])
111 111
 
112 112
 Asynchronous fstat(2). The callback gets two arguments `(err, stats)` where
113  
-`stats` is a `fs.Stats` object.
  113
+`stats` is a `fs.Stats` object. `fstat()` is identical to `stat()`, except that
  114
+the file to be stat-ed is specified by the file descriptor `fd`.
114 115
 
115 116
 ### fs.statSync(path)
116 117
 
2  doc/api/util.markdown
Source Rendered
@@ -16,7 +16,7 @@ output `string` immediately to `stderr`.
16 16
 
17 17
 Output with timestamp on `stdout`.
18 18
 
19  
-    require('util').log('Timestmaped message.');
  19
+    require('util').log('Timestamped message.');
20 20
 
21 21
 
22 22
 ### util.inspect(object, showHidden=false, depth=2)

0 notes on commit 0cb4484

Please sign in to comment.
Something went wrong with that request. Please try again.