Skip to content

doc: fix grammar and punctuation in buffer.md - #65255

Closed
Rawal27 wants to merge 1 commit into
nodejs:mainfrom
Rawal27:doc-fix-buffer-documentation-third
Closed

doc: fix grammar and punctuation in buffer.md#65255
Rawal27 wants to merge 1 commit into
nodejs:mainfrom
Rawal27:doc-fix-buffer-documentation-third

Conversation

@Rawal27

@Rawal27 Rawal27 commented Aug 13, 2026

Copy link
Copy Markdown

Summary

Improve grammar and clarity in doc/api/buffer.md.

Changes

  • Added the missing article “an” in the buf.fill() example.
  • Added the missing article “a” in the multi-byte character example.
  • Added “the” before offset in the buf.lastIndexOf() parameter description.
  • Improved the buf.lastIndexOf() description by changing it to a complete sentence and adding “that” after “except”.
  • Replaced “like” with “such as” when introducing examples of arguments that coerce to NaN.

No functional or behavioral changes are introduced; these are documentation-only improvements in grammar and clarity.

Signed-off-by: Rawal27 <obviouslykamal@gmail.com>
@nodejs-github-bot nodejs-github-bot added buffer Issues and PRs related to the buffer subsystem. doc Issues and PRs related to the documentations. labels Aug 13, 2026
@aduh95

aduh95 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Please stop opening PRs faster they can be reviewed. If you do not stop, you will get blocked from the organisation.

@aduh95 aduh95 closed this Aug 13, 2026
@Rawal27

Rawal27 commented Aug 13, 2026

Copy link
Copy Markdown
Author

@aduh95 Can you clarify this? I mean, these are genuine doc-level changes that I have proposed. Also, a contributor can contribute to as many as 30 pull requests at a time. Closing them without reason seems unfair to me.

@Rawal27

Rawal27 commented Aug 13, 2026

Copy link
Copy Markdown
Author
Screenshot 2026-08-13 at 2 55 15 PM

@Rawal27

Rawal27 commented Aug 13, 2026

Copy link
Copy Markdown
Author
Screenshot 2026-08-13 at 2 55 15 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

buffer Issues and PRs related to the buffer subsystem. doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants