-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
fix fs.read documentation typo read instead of write #29270
Conversation
Co-Authored-By: Robert Nagy <ronagy@icloud.com>
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.
Co-Authored-By: Anna Henningsen <github@addaleax.net>
@addaleax I'm good with the before or after. If you think the original reads better then I'm good with that also. |
I still feel like the second line change here sounds a lot like implying that the Buffer is the data source here. It can be |
As I said, i'm good with your read on it @addaleax. I'll clear my +1 |
Happy with @addaleax's rejection and reasoning
I agree with @addaleax. Sorry I did not review carefully.
Ping @HACHIMIam would you please change the second part as suggested? |
@BridgeAR done |
doc/api/fs.md
Outdated
@@ -2503,7 +2503,7 @@ changes: | |||
|
|||
Read data from the file specified by `fd`. | |||
|
|||
`buffer` is the buffer that the data will be written to. | |||
`buffer` is the buffer that the data which was read from the fd will be written 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.
This line exceeds the maximum allowed line length.
`buffer` is the buffer that the data which was read from the fd will be written to. | |
`buffer` is the buffer that the data which was read from the fd will be written | |
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.
@BridgeAR i tried reduce the line length
Looks like this was ready to be landed long back, but not sure why got stalled. |
Landed in 0c70e8c |
PR-URL: #29270 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #29270 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #29270 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: #29270 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes