commit bac4a5c1969ccb8b1d5cbac429462d2ad878fbe5 (tree)
parent 353121d9d57d9dfcd734cd3b4b65d826f7eb00ee
Author: Andrew Kelley <andrew@ziglang.org>
Date: Fri, 9 Sep 2022 11:47:36 -0700
std: remove a solved TODO comment
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/lib/std/fs.zig b/lib/std/fs.zig
@@ -150,7 +150,6 @@ pub fn copyFileAbsolute(source_path: []const u8, dest_path: []const u8, args: Co
return Dir.copyFile(my_cwd, source_path, my_cwd, dest_path, args);
}
-/// TODO update this API to avoid a getrandom syscall for every operation.
pub const AtomicFile = struct {
file: File,
// TODO either replace this with rand_buf or use []u16 on Windows