-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: fixes a typo in the async_hooks documentation #13666
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Minor nit to whomever lands this, 'fixes:' should probably be 'Fixes:' in the commit message. Otherwise LGTM. |
01f9ad7
to
fb7ca40
Compare
> Generally it will correspond the name of the resource's constructor. should read "will correspond with..." Fixes: nodejs#13663
fb7ca40
to
dff842a
Compare
doc/api/async_hooks.md
Outdated
@@ -192,8 +192,8 @@ Every new resource is assigned a unique ID. | |||
###### `type` | |||
|
|||
The `type` is a string that represents the type of resource that caused | |||
`init` to be called. Generally it will correspond the name of the resource's | |||
constructor. | |||
`init` to be called. Generally it will correspond with the name of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correspond to?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While we're in here, can you put a comma after Generally
?
> Generally it will correspond the name of the resource's constructor. should read "Generally, it will correspond to the name..." Fixes: nodejs#13663
Landed in 386f53f, thank you for your first contribution! 🎉 |
> Generally it will correspond the name of the resource's constructor. should read "Generally, it will correspond to the name..." PR-URL: #13666 Fixes: #13663 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
> Generally it will correspond the name of the resource's constructor. should read "Generally, it will correspond to the name..." PR-URL: #13666 Fixes: #13663 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
> Generally it will correspond the name of the resource's constructor. should read "Generally, it will correspond to the name..." PR-URL: #13666 Fixes: #13663 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Fixes a minor typo as described by @mscdex in #13663
should read "will correspond with..."
fixes: #13663
Checklist
Affected core subsystem(s)
doc