reformat
This commit is contained in:
parent
d9398c0843
commit
ea0f079473
1 changed files with 4 additions and 1 deletions
|
@ -121,7 +121,10 @@ pub const EventPoller = struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn poll(self: *EventPoller) ![]SyncthingEvent {
|
pub fn poll(self: *EventPoller) ![]SyncthingEvent {
|
||||||
var client = std.http.Client{ .allocator = self.allocator, .connection_pool = self.connection_pool };
|
var client = std.http.Client{
|
||||||
|
.allocator = self.allocator,
|
||||||
|
.connection_pool = self.connection_pool,
|
||||||
|
};
|
||||||
var arena = std.heap.ArenaAllocator.init(self.allocator);
|
var arena = std.heap.ArenaAllocator.init(self.allocator);
|
||||||
defer arena.deinit();
|
defer arena.deinit();
|
||||||
const aa = arena.allocator();
|
const aa = arena.allocator();
|
||||||
|
|
Loading…
Add table
Reference in a new issue