diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-02-03 14:06:37 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-02-03 14:06:37 -0500 |
| commit | ef5e7bb4693ed7e1582fb0b68cab01e00638d615 (patch) | |
| tree | a8f7b989773c54785096bc93eb1b054477948c9a /std/os | |
| parent | abf5ae6897bb23e49e4232ab8be7ed61ea9520b6 (diff) | |
| download | zig-ef5e7bb4693ed7e1582fb0b68cab01e00638d615.tar.gz zig-ef5e7bb4693ed7e1582fb0b68cab01e00638d615.zip | |
*WIP* error sets - an inferred error set can end up being the global one
Diffstat (limited to 'std/os')
| -rw-r--r-- | std/os/index.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/os/index.zig b/std/os/index.zig index aad24cf996..e57968dcad 100644 --- a/std/os/index.zig +++ b/std/os/index.zig @@ -1072,7 +1072,7 @@ pub fn changeCurDir(allocator: &Allocator, dir_path: []const u8) !void { } /// Read value of a symbolic link. -pub fn readLink(allocator: &Allocator, pathname: []const u8) error![]u8 { +pub fn readLink(allocator: &Allocator, pathname: []const u8) ![]u8 { const path_buf = try allocator.alloc(u8, pathname.len + 1); defer allocator.free(path_buf); |
