Skip to content

Commit ee1865d

Browse files
stevemaorvagg
authored andcommitted
doc: clarify buffer class
Fixes: #6891 PR-URL: #6914 Reviewed-By: Claudio Rodriguez <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 69e119d commit ee1865d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The size of the `Buffer` is established when it is created and cannot be
1818
resized.
1919

2020
The `Buffer` class is a global within Node.js, making it unlikely that one
21-
would need to ever use `require('buffer')`.
21+
would need to ever use `require('buffer').Buffer`.
2222

2323
```js
2424
const buf1 = Buffer.alloc(10);

0 commit comments

Comments
 (0)