Skip to content

Commit d4c73d4

Browse files
vsemozhetbytaddaleax
authored andcommitted
doc: remove an extraneous word in the buffer.md
PR-URL: #9795 Reviewed-By: Sam Roberts <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent d373b2f commit d4c73d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/buffer.md

+3-3
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)
@@ -2336,7 +2336,7 @@ console.log(newBuf.toString('ascii'));
23362336
Because the Euro (``) sign is not representable in US-ASCII, it is replaced
23372337
with `?` in the transcoded `Buffer`.
23382338

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

23422342
## Class: SlowBuffer

0 commit comments

Comments
 (0)