From 13622de60139484bd39beeb3e1bae121465d6df0 Mon Sep 17 00:00:00 2001 From: Jimb Esser Date: Mon, 25 Jan 2016 12:45:02 -0800 Subject: [PATCH] doc: fix nonsensical grammar in Buffer::write PR-URL: https://github.com/nodejs/node/pull/4863 Reviewed-By: Evan Lucas Reviewed-By: Colin Ihrig Reviewed-By: Roman Reiss --- doc/api/buffer.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.markdown b/doc/api/buffer.markdown index d64825f6dc0acb..8be347a74c725d 100644 --- a/doc/api/buffer.markdown +++ b/doc/api/buffer.markdown @@ -1008,7 +1008,7 @@ When undefined, `offset` defaults to `0`, and `encoding` defaults to `'utf8'`. The `length` parameter is the number of bytes to write, when undefined `length` defaults to `buffer.length - offset`. If the Buffer did not contain enough space to fit the entire string, only a partial amount of the string will be -written however, the will not write only partially encoded characters. The +written however, it will not write only partially encoded characters. The return value indicates the number of octets written. ```js