summaryrefslogtreecommitdiff
path: root/doc/api/buffer.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-04-04 19:37:58 -0700
committerRich Trott <rtrott@gmail.com>2018-04-05 19:19:23 -0700
commit617946779c677e0669395cac8fbc2c0dace9da43 (patch)
tree36a6fa07093b5e5271719b35e610f138901036fa /doc/api/buffer.md
parent3db0d62c683141769c6aa34b14289237e2c7baca (diff)
downloadandroid-node-v8-617946779c677e0669395cac8fbc2c0dace9da43.tar.gz
android-node-v8-617946779c677e0669395cac8fbc2c0dace9da43.tar.bz2
android-node-v8-617946779c677e0669395cac8fbc2c0dace9da43.zip
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: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc/api/buffer.md')
-rw-r--r--doc/api/buffer.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/buffer.md b/doc/api/buffer.md
index 052e46a0e6..c0df6e556b 100644
--- a/doc/api/buffer.md
+++ b/doc/api/buffer.md
@@ -1047,8 +1047,8 @@ added: v0.1.90
* `target` {Buffer|Uint8Array} A `Buffer` or [`Uint8Array`] to copy into.
* `targetStart` {integer} The offset within `target` at which to begin
- copying to. **Default:** `0`.
-* `sourceStart` {integer} The offset within `buf` at which to begin copying from.
+ writing. **Default:** `0`.
+* `sourceStart` {integer} The offset within `buf` from which to begin copying.
**Default:** `0`.
* `sourceEnd` {integer} The offset within `buf` at which to stop copying (not
inclusive). **Default:** [`buf.length`].