Commit 98706c9686
Changed files (4)
lib
std
lib/std/os/bits/openbsd.zig
@@ -805,7 +805,7 @@ comptime {
if (@sizeOf(usize) == 4)
std.debug.assert(@sizeOf(siginfo_t) == 128)
else
- // Take into account the padding between errno and data fields.
+ // Take into account the padding between errno and data fields.
std.debug.assert(@sizeOf(siginfo_t) == 136);
}
lib/std/x/os/os.zig
@@ -6,4 +6,4 @@ pub const Socket = @import("Socket.zig");
test {
testing.refAllDecls(@This());
-}
\ No newline at end of file
+}
lib/std/x/os/Socket.zig
@@ -12,7 +12,7 @@ const Socket = @This();
/// A socket-address pair.
pub const Connection = struct {
socket: Socket,
- address: net.Address,
+ address: net.Address,
};
/// The underlying handle of a socket.
@@ -231,7 +231,7 @@ test {
}
test "socket/linux: set read timeout of 1 millisecond on blocking socket" {
- if (builtin.os.tag != .linux) return error.SkipZigTest;
+ if (builtin.os.tag != .linux) return error.SkipZigTest;
const a = try Socket.init(os.AF_INET, os.SOCK_STREAM | os.SOCK_CLOEXEC, os.IPPROTO_TCP);
defer a.deinit();
@@ -273,4 +273,4 @@ test "socket/linux: create non-blocking socket pair" {
const ab = try a.accept(os.SOCK_NONBLOCK | os.SOCK_CLOEXEC);
defer ab.socket.deinit();
-}
\ No newline at end of file
+}
lib/std/x.zig
@@ -1,1 +1,1 @@
-pub const os = @import("x/os/os.zig");
\ No newline at end of file
+pub const os = @import("x/os/os.zig");