Skip to content

Commit 4a85417

Browse files
committed
doc: clarify buffer class
Fixes #6891
1 parent 7c3e920 commit 4a85417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffer.md

Lines changed: 1 addition & 1 deletion
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)