aboutsummaryrefslogtreecommitdiff
path: root/lib/std/event
diff options
context:
space:
mode:
authorVexu <git@vexu.eu>2020-07-11 14:09:04 +0300
committerVexu <git@vexu.eu>2020-07-11 20:41:19 +0300
commite85fe13e44b1e2957b9d90e19c171fdfa8cb5505 (patch)
tree17880994dab9c0033cc139b677711f45a87ca637 /lib/std/event
parent8110639c7964fcb23c2b715f97ab6caa27506b93 (diff)
downloadzig-e85fe13e44b1e2957b9d90e19c171fdfa8cb5505.tar.gz
zig-e85fe13e44b1e2957b9d90e19c171fdfa8cb5505.zip
run zig fmt on std lib and self hosted
Diffstat (limited to 'lib/std/event')
-rw-r--r--lib/std/event/group.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/event/group.zig b/lib/std/event/group.zig
index 61130b32cb..0dc6550218 100644
--- a/lib/std/event/group.zig
+++ b/lib/std/event/group.zig
@@ -65,7 +65,7 @@ pub fn Group(comptime ReturnType: type) type {
/// allocated by the group and freed by `wait`.
/// `func` must be async and have return type `ReturnType`.
/// Thread-safe.
- pub fn call(self: *Self, comptime func: var, args: var) error{OutOfMemory}!void {
+ pub fn call(self: *Self, comptime func: anytype, args: anytype) error{OutOfMemory}!void {
var frame = try self.allocator.create(@TypeOf(@call(.{ .modifier = .async_kw }, func, args)));
errdefer self.allocator.destroy(frame);
const node = try self.allocator.create(AllocStack.Node);