authorgravatar for nbaltunian@gmail.comNoah Altunian <nbaltunian@gmail.com> 2020-10-05 09:59:43-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-10-05 22:25:07-04:00
logc507c7862e363c59fd61bf914f13060e19bf9f68
tree9ec9c52a9c670bd19c65322c19ead9cbe337c905
parent41aa5edaaf79da869c6f39f0f0508b3fb5d3d34c

Fix spelling in code comment

Changed **an handle** -> **a handle**.

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

lib/std/fs.zig+1-1
...@@ -1856,7 +1856,7 @@ pub const Dir = struct {...@@ -1856,7 +1856,7 @@ pub const Dir = struct {
1856 }1856 }
1857};1857};
18581858
1859/// Returns an handle to the current working directory. It is not opened with iteration capability.1859/// Returns a handle to the current working directory. It is not opened with iteration capability.
1860/// Closing the returned `Dir` is checked illegal behavior. Iterating over the result is illegal behavior.1860/// Closing the returned `Dir` is checked illegal behavior. Iterating over the result is illegal behavior.
1861/// On POSIX targets, this function is comptime-callable.1861/// On POSIX targets, this function is comptime-callable.
1862pub fn cwd() Dir {1862pub fn cwd() Dir {