summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--std/fs/walk.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/std/fs/walk.ts b/std/fs/walk.ts
index d01f35167..ccd5097a4 100644
--- a/std/fs/walk.ts
+++ b/std/fs/walk.ts
@@ -77,9 +77,9 @@ export interface WalkEntry extends Deno.DirEntry {
* - match?: RegExp[];
* - skip?: RegExp[];
*
- * for await (const { name, info } of walk(".")) {
- * console.log(name);
- * assert(info.isFile);
+ * for await (const entry of walk(".")) {
+ * console.log(entry.path);
+ * assert(entry.isFile);
* };
*/
export async function* walk(