From d4b08e98e5e3dc16c75e540ff9ea49073519ef78 Mon Sep 17 00:00:00 2001 From: Rawal27 Date: Sun, 14 Jun 2026 16:25:03 +0530 Subject: [PATCH] doc: fix callback example import in fs docs --- 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 350555f2f8ad99..930782da463878 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -8790,7 +8790,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;