Skip to content

Commit 6179467

Browse files
committed
doc: improve prepositions in buffer.md
* `at which to begin copying to` -> `at which to begin writing` * `at which to begin copying from` -> `from which to begin copying` * wrap at 80 chars PR-URL: #19817 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 3db0d62 commit 6179467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/buffer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,8 +1047,8 @@ added: v0.1.90
10471047

10481048
* `target` {Buffer|Uint8Array} A `Buffer` or [`Uint8Array`] to copy into.
10491049
* `targetStart` {integer} The offset within `target` at which to begin
1050-
copying to. **Default:** `0`.
1051-
* `sourceStart` {integer} The offset within `buf` at which to begin copying from.
1050+
writing. **Default:** `0`.
1051+
* `sourceStart` {integer} The offset within `buf` from which to begin copying.
10521052
**Default:** `0`.
10531053
* `sourceEnd` {integer} The offset within `buf` at which to stop copying (not
10541054
inclusive). **Default:** [`buf.length`].

0 commit comments

Comments
 (0)