Skip to content

Commit

Permalink
doc: clarify buffer class
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemao committed May 21, 2016
1 parent 7c3e920 commit 4a85417
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 4a85417

Please sign in to comment.