Skip to content

Commit

Permalink
doc: clarify buffer class
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
stevemao authored and Myles Borins committed Jun 24, 2016
1 parent e0dd476 commit c31eaad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffer.markdown
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 = new Buffer(10);
Expand Down

0 comments on commit c31eaad

Please sign in to comment.