doc: fix common typo involving one-time listeners · nodejs/node@069fd23 · GitHub
Skip to content

Commit 069fd23

Browse files
Trottgibfahn
authored andcommitted
doc: fix common typo involving one-time listeners
Our docs use both "one time listener" and "one-time listener". The second is more correct. Standardize on that. PR-URL: #17502 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Jon Moss <me@jonathanmoss.me> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 533cc5c commit 069fd23

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

doc/api/events.md

Lines changed: 2 additions & 2 deletions

doc/api/http.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1782,7 +1782,7 @@ This function allows one to transparently issue requests.
17821782
string, it is automatically parsed with [`url.parse()`][]. If it is a [`URL`][]
17831783
object, it will be automatically converted to an ordinary `options` object.
17841784

1785-
The optional `callback` parameter will be added as a one time listener for
1785+
The optional `callback` parameter will be added as a one-time listener for
17861786
the [`'response'`][] event.
17871787

17881788
`http.request()` returns an instance of the [`http.ClientRequest`][]

doc/api/net.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)