From 4a8541747a1f8057cd4103614f7dc67603e1efa1 Mon Sep 17 00:00:00 2001 From: Steve Mao Date: Sat, 21 May 2016 20:37:53 +1000 Subject: [PATCH] doc: clarify buffer class Fixes #6891 --- doc/api/buffer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/buffer.md b/doc/api/buffer.md index 3e8a6a9d1cbad6..f20f80c747da77 100644 --- a/doc/api/buffer.md +++ b/doc/api/buffer.md @@ -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);