authorgravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-07-17 11:54:13+03:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-07-17 11:54:13+03:00
log0e26c61499c5116ca11d1bfedc691b56b23a0751
tree6c8ca7001f9755e5ba883acf22a384c5e42f5873
parentfcaeca5b0acc4cc5930756301f56f7b56dc0a020

std.fs: remove accidental comptime block


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

lib/std/fs.zig-6
...@@ -2391,12 +2391,6 @@ pub fn openIterableDirAbsoluteW(absolute_path_c: [*:0]const u16, flags: Dir.Open...@@ -2391,12 +2391,6 @@ pub fn openIterableDirAbsoluteW(absolute_path_c: [*:0]const u16, flags: Dir.Open
2391 return IterableDir{ .dir = try cwd().openDirW(absolute_path_c, flags, true) };2391 return IterableDir{ .dir = try cwd().openDirW(absolute_path_c, flags, true) };
2392}2392}
23932393
2394comptime {
2395 _ = openIterableDirAbsolute;
2396 _ = openIterableDirAbsoluteZ;
2397 _ = openIterableDirAbsoluteW;
2398}
2399
2400/// Opens a file for reading or writing, without attempting to create a new file, based on an absolute path.2394/// Opens a file for reading or writing, without attempting to create a new file, based on an absolute path.
2401/// Call `File.close` to release the resource.2395/// Call `File.close` to release the resource.
2402/// Asserts that the path is absolute. See `Dir.openFile` for a function that2396/// Asserts that the path is absolute. See `Dir.openFile` for a function that