Skip to content

Commit dede04c

Browse files
vsemozhetbytaddaleax
authored andcommitted
doc: remove an extraneous word in the buffer.md
PR-URL: nodejs#9795 Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 0d00289 commit dede04c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/api/buffer.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,7 +2293,7 @@ Returns the maximum number of bytes that will be returned when
22932293
`buf.inspect()` is called. This can be overridden by user modules. See
22942294
[`util.inspect()`] for more details on `buf.inspect()` behavior.
22952295

2296-
Note that this is a property on the `buffer` module as returned by
2296+
Note that this is a property on the `buffer` module returned by
22972297
`require('buffer')`, not on the `Buffer` global or a `Buffer` instance.
22982298

22992299
## buffer.kMaxLength
@@ -2306,7 +2306,7 @@ added: v3.0.0
23062306
On 32-bit architectures, this value is `(2^30)-1` (~1GB).
23072307
On 64-bit architectures, this value is `(2^31)-1` (~2GB).
23082308

2309-
Note that this is a property on the `buffer` module as returned by
2309+
Note that this is a property on the `buffer` module returned by
23102310
`require('buffer')`, not on the `Buffer` global or a `Buffer` instance.
23112311

23122312
## buffer.transcode(source, fromEnc, toEnc)
@@ -2338,7 +2338,7 @@ console.log(newBuf.toString('ascii'));
23382338
Because the Euro (``) sign is not representable in US-ASCII, it is replaced
23392339
with `?` in the transcoded `Buffer`.
23402340

2341-
Note that this is a property on the `buffer` module as returned by
2341+
Note that this is a property on the `buffer` module returned by
23422342
`require('buffer')`, not on the `Buffer` global or a `Buffer` instance.
23432343

23442344
## Class: SlowBuffer

0 commit comments

Comments
 (0)