improve the std.fs.Dir API to not require an allocator #2885
Labels
breaking
Implementing this issue could cause existing code to no longer compile or have different behavior.
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
standard library
This issue involves writing Zig code for the standard library.
Milestone
Extracted from a TODO comment:
zig/std/fs.zig
Lines 430 to 431 in bdfb314
Iterating over a directory does not fundamentally require an allocator. Let's remove the allocator requirement from this function.
This will remove one of the ways that this API can fail, making it more robust.
The text was updated successfully, but these errors were encountered: