From 8933303568d3aa09998f58b9e465425154ff71be Mon Sep 17 00:00:00 2001 From: Kamal Rawal Date: Wed, 24 Jun 2026 10:39:04 +0530 Subject: [PATCH] doc: fix callback example import in fs docs Signed-off-by: Rawal27 PR-URL: https://github.com/nodejs/node/pull/63912 Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat --- doc/api/fs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index d1583241271..12c58887f9d 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -8529,7 +8529,7 @@ rename('/tmp/hello', '/tmp/world', (err) => { ``` ```cjs -const { rename, stat } = require('node:fs/promises'); +const { rename, stat } = require('node:fs'); rename('/tmp/hello', '/tmp/world', (err) => { if (err) throw err;