authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-09-09 11:47:36-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-12-14 14:26:02-07:00
logbac4a5c1969ccb8b1d5cbac429462d2ad878fbe5
treea33516eb2ae152dae3b81018ad47bd2a35af3cfe
parent353121d9d57d9dfcd734cd3b4b65d826f7eb00ee

std: remove a solved TODO comment


1 files changed, 0 insertions(+), 1 deletions(-)

lib/std/fs.zig-1
...@@ -150,7 +150,6 @@ pub fn copyFileAbsolute(source_path: []const u8, dest_path: []const u8, args: Co...@@ -150,7 +150,6 @@ pub fn copyFileAbsolute(source_path: []const u8, dest_path: []const u8, args: Co
150 return Dir.copyFile(my_cwd, source_path, my_cwd, dest_path, args);150 return Dir.copyFile(my_cwd, source_path, my_cwd, dest_path, args);
151}151}
152152
153/// TODO update this API to avoid a getrandom syscall for every operation.
154pub const AtomicFile = struct {153pub const AtomicFile = struct {
155 file: File,154 file: File,
156 // TODO either replace this with rand_buf or use []u16 on Windows155 // TODO either replace this with rand_buf or use []u16 on Windows