diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-09 18:44:39 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:09 -0800 |
| commit | 78d262d96ee6200c7a6bc0a41fe536d263c24d92 (patch) | |
| tree | cfc5dbe215a58d9001f90f1efc1e11d907d669f4 /lib/std/Io/Dir.zig | |
| parent | 03526c59d4e2a00f83347cf06c741a3ed4fec520 (diff) | |
| download | zig-78d262d96ee6200c7a6bc0a41fe536d263c24d92.tar.gz zig-78d262d96ee6200c7a6bc0a41fe536d263c24d92.zip | |
std: WIP: debug-level stderr writing
Diffstat (limited to 'lib/std/Io/Dir.zig')
| -rw-r--r-- | lib/std/Io/Dir.zig | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/std/Io/Dir.zig b/lib/std/Io/Dir.zig index 9c4a1f1df8..a9d28440eb 100644 --- a/lib/std/Io/Dir.zig +++ b/lib/std/Io/Dir.zig @@ -342,7 +342,7 @@ pub const Walker = struct { /// Recursively iterates over a directory. /// -/// `dir` must have been opened with `OpenOptions{.iterate = true}`. +/// `dir` must have been opened with `OpenOptions.iterate` set to `true`. /// /// `Walker.deinit` releases allocated memory and directory handles. /// @@ -350,7 +350,8 @@ pub const Walker = struct { /// /// `dir` will not be closed after walking it. /// -/// See also `walkSelectively`. +/// See also: +/// * `walkSelectively` pub fn walk(dir: Dir, allocator: Allocator) Allocator.Error!Walker { return .{ .inner = try walkSelectively(dir, allocator) }; } |
