diff options
Diffstat (limited to 'src/http_client_async.zig')
-rw-r--r-- | src/http_client_async.zig | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig index 0f6045bbb..945406448 100644 --- a/src/http_client_async.zig +++ b/src/http_client_async.zig @@ -1029,13 +1029,13 @@ aborted: ?*std.atomic.Atomic(bool) = null, async_http_id: u32 = 0, pub fn init(allocator: std.mem.Allocator, method: Method, url: URL, header_entries: Headers.Entries, header_buf: string, signal: ?*std.atomic.Atomic(bool)) HTTPClient { - return HTTPClient { - .allocator = allocator, - .method = method, - .url = url, - .header_entries = header_entries, - .header_buf = header_buf, - .aborted = signal, + return HTTPClient{ + .allocator = allocator, + .method = method, + .url = url, + .header_entries = header_entries, + .header_buf = header_buf, + .aborted = signal, }; } |