Skip to content

Commit b1c3de6

Browse files
committed
zig fmt
1 parent a43a6a2 commit b1c3de6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/server.zig

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const MAX_HTTP_REQUEST_SIZE = 2048;
4747
// +140 for the max control packet that might be interleaved in a message
4848
const MAX_MESSAGE_SIZE = 256 * 1024 + 14;
4949

50-
5150
pub const Client = ClientT(*Server, CDP);
5251

5352
const Server = struct {
@@ -243,7 +242,7 @@ const Server = struct {
243242
// (with its own completion), allocated on the heap.
244243
// After the send (on the sendCbk) the dedicated context will be destroy
245244
// and the data slice will be free.
246-
const Send = struct { // Any unsent data we have.
245+
const Send = struct { // Any unsent data we have.
247246
unsent: []const u8,
248247

249248
server: *Server,
@@ -1222,7 +1221,6 @@ test "Client: write websocket message" {
12221221
.{ .expected = &.{ 129, 2, '"', '"' }, .message = "" },
12231222
.{ .expected = [_]u8{ 129, 14 } ++ "\"hello world!\"", .message = "hello world!" },
12241223
.{ .expected = [_]u8{ 129, 126, 0, 132 } ++ "\"" ++ ("A" ** 130) ++ "\"", .message = "A" ** 130 },
1225-
12261224
};
12271225

12281226
for (cases) |c| {

0 commit comments

Comments
 (0)