aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9100e65cc..2b344ab00 100644
--- a/README.md
+++ b/README.md
@@ -4795,7 +4795,7 @@ Heap snapshots let you inspect what objects are not being freed. You can use the
To generate a heap snapshot:
```ts
-import { generateHeapSnapshot } from "bun:jsc";
+import { generateHeapSnapshot } from "bun";
const snapshot = generateHeapSnapshot();
await Bun.write("heap.json", JSON.stringify(snapshot, null, 2));