Skip to content

Commit

Permalink
Fixes missing error prong in std.os.send.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikskuh authored and andrewrk committed Jan 4, 2021
1 parent fc3508b commit 819f2a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/std/os.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4853,6 +4853,7 @@ pub fn send(
error.NotDir => unreachable,
error.NetworkUnreachable => unreachable,
error.AddressNotAvailable => unreachable,
error.SocketNotConnected => unreachable,
else => |e| return e,
};
}
Expand Down

0 comments on commit 819f2a0

Please sign in to comment.