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 <cjrodr@yahoo.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
stevemao authored and addaleax committed May 24, 2016
1 parent 6bad85c commit cc6a78e
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 cc6a78e

Please sign in to comment.