Skip to content

Commit fa7d378

Browse files
TrottMylesBorins
authored andcommitted
doc: correct it's vs. its usage
Fix a few instances where `it's` was being used where the possessive `its` was called for. Some additional minor copy-editing of nearby text (adding a comma and fixing a comma splice) was also performed. PR-URL: #10098 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 176f680 commit fa7d378

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/api/crypto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ added: v0.1.94
228228
-->
229229

230230
Updates the cipher with `data`. If the `input_encoding` argument is given,
231-
it's value must be one of `'utf8'`, `'ascii'`, or `'latin1'` and the `data`
231+
its value must be one of `'utf8'`, `'ascii'`, or `'latin1'` and the `data`
232232
argument is a string using the specified encoding. If the `input_encoding`
233233
argument is not given, `data` must be a [`Buffer`][]. If `data` is a
234234
[`Buffer`][] then `input_encoding` is ignored.
@@ -361,7 +361,7 @@ added: v0.1.94
361361
-->
362362

363363
Updates the decipher with `data`. If the `input_encoding` argument is given,
364-
it's value must be one of `'latin1'`, `'base64'`, or `'hex'` and the `data`
364+
its value must be one of `'latin1'`, `'base64'`, or `'hex'` and the `data`
365365
argument is a string using the specified encoding. If the `input_encoding`
366366
argument is not given, `data` must be a [`Buffer`][]. If `data` is a
367367
[`Buffer`][] then `input_encoding` is ignored.

doc/api/process.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ pending* that have not yet completed fully, *including* I/O operations to
878878
`process.stdout` and `process.stderr`.
879879

880880
In most situations, it is not actually necessary to call `process.exit()`
881-
explicitly. The Node.js process will exit on it's own *if there is no additional
881+
explicitly. The Node.js process will exit on its own *if there is no additional
882882
work pending* in the event loop. The `process.exitCode` property can be set to
883883
tell the process which exit code to use when the process exits gracefully.
884884

@@ -1119,7 +1119,7 @@ added: v0.1.17
11191119
The `process.mainModule` property provides an alternative way of retrieving
11201120
[`require.main`][]. The difference is that if the main module changes at
11211121
runtime, [`require.main`][] may still refer to the original main module in
1122-
modules that were required before the change occurred. Generally it's
1122+
modules that were required before the change occurred. Generally, it's
11231123
safe to assume that the two refer to the same module.
11241124

11251125
As with [`require.main`][], `process.mainModule` will be `undefined` if there
@@ -1163,7 +1163,7 @@ The `process.nextTick()` method adds the `callback` to the "next tick queue".
11631163
Once the current turn of the event loop turn runs to completion, all callbacks
11641164
currently in the next tick queue will be called.
11651165

1166-
This is *not* a simple alias to [`setTimeout(fn, 0)`][], it's much more
1166+
This is *not* a simple alias to [`setTimeout(fn, 0)`][]. It is much more
11671167
efficient. It runs before any additional I/O events (including
11681168
timers) fire in subsequent ticks of the event loop.
11691169

0 commit comments

Comments
 (0)