Skip to content

Commit

Permalink
doc: clarify buffer class
Browse files Browse the repository at this point in the history
Fixes: nodejs#6891
PR-URL: nodejs#6914
Reviewed-By: Claudio Rodriguez <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Сковорода Никита Андреевич <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
stevemao authored and Fishrock123 committed May 30, 2016
1 parent 52b5b67 commit 7a29c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The size of the `Buffer` is established when it is created and cannot be
resized.

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

```js
const buf1 = Buffer.alloc(10);
Expand Down

0 comments on commit 7a29c6f

Please sign in to comment.