Skip to content

Commit 70195ac

Browse files
brendanashworthJulien Gilli
authored and
Julien Gilli
committed
doc: fix grammar and wording in tls and timers
In `tls.markdown`, there was a misuse of 'a' which has been replaced with 'an'. In `timers.markdown`... line 31: misuse of 'a', replaced with 'an' line 59: unclear wording, haywire 'a', added new comma
1 parent 9653c4b commit 70195ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/api/timers.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ you can also pass arguments to the callback.
2828

2929
## clearInterval(intervalObject)
3030

31-
Stops a interval from triggering.
31+
Stops an interval from triggering.
3232

3333
## unref()
3434

@@ -56,7 +56,7 @@ can also pass arguments to the callback.
5656

5757
Callbacks for immediates are queued in the order in which they were created.
5858
The entire callback queue is processed every event loop iteration. If you queue
59-
an immediate from a inside an executing callback that immediate won't fire
59+
an immediate from inside an executing callback, that immediate won't fire
6060
until the next event loop iteration.
6161

6262
## clearImmediate(immediateObject)

doc/api/tls.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ automatically set as a listener for the [secureConnection][] event. The
221221

222222
NOTE: Automatically shared between `cluster` module workers.
223223

224-
- `sessionIdContext`: A string containing a opaque identifier for session
224+
- `sessionIdContext`: A string containing an opaque identifier for session
225225
resumption. If `requestCert` is `true`, the default is MD5 hash value
226226
generated from command-line. Otherwise, the default is not provided.
227227

@@ -501,7 +501,7 @@ connections using TLS or SSL.
501501
`function (tlsSocket) {}`
502502

503503
This event is emitted after a new connection has been successfully
504-
handshaked. The argument is a instance of [tls.TLSSocket][]. It has all the
504+
handshaked. The argument is an instance of [tls.TLSSocket][]. It has all the
505505
common stream methods and events.
506506

507507
`socket.authorized` is a boolean value which indicates if the

0 commit comments

Comments
 (0)