mirror of
https://github.com/ziglang/zig.git
synced 2025-02-16 01:20:18 +00:00
std.fs: Fix typo in accessAbsoluteW
This commit is contained in:
parent
3cf71580c4
commit
62f727eedb
@ -2791,7 +2791,7 @@ pub fn accessAbsoluteZ(absolute_path: [*:0]const u8, flags: File.OpenFlags) Dir.
|
||||
try cwd().accessZ(absolute_path, flags);
|
||||
}
|
||||
/// Same as `accessAbsolute` but the path parameter is WTF-16 encoded.
|
||||
pub fn accessAbsoluteW(absolute_path: [*:0]const 16, flags: File.OpenFlags) Dir.AccessError!void {
|
||||
pub fn accessAbsoluteW(absolute_path: [*:0]const u16, flags: File.OpenFlags) Dir.AccessError!void {
|
||||
assert(path.isAbsoluteWindowsW(absolute_path));
|
||||
try cwd().accessW(absolute_path, flags);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user