-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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: unify and dedupe returned values in timers.md #20310
Conversation
This comment has been minimized.
This comment has been minimized.
Please, add 👍 here to approve fast-tracking. |
doc/api/timers.md
Outdated
@@ -28,7 +28,7 @@ functions that can be used to control this default behavior. | |||
added: v9.7.0 | |||
--> | |||
|
|||
* Returns: {Immediate} | |||
* Returns: {Immediate} a reference to the `immediate` |
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.
I think this should be either a reference to `immediate`
or a reference to the `Immediate`
and similarly below.
The first one means: A reference to the variable named "immediate".
The second one means: A reference to the instance of the Immediate
object.
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.
I will fix with the former: we already have the type mentioned and the lowercased variant makes it clear that this
is returned.
Landed in 65d97c9 |
PR-URL: #20310 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
PR-URL: #20310 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes