aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-02-20 00:31:52 -0500
committerAndrew Kelley <superjoe30@gmail.com>2018-02-20 00:31:52 -0500
commita06f3c74fdc0d8bf0f42427a261ab32351753fcb (patch)
treee4c73aa199982fb9885148c3339f9e0c137239b5 /std
parent3d58d7232ab6d1fd54523182beb99c31512bc4b9 (diff)
downloadzig-a06f3c74fdc0d8bf0f42427a261ab32351753fcb.tar.gz
zig-a06f3c74fdc0d8bf0f42427a261ab32351753fcb.zip
parse async fn definitions
See #727
Diffstat (limited to 'std')
-rw-r--r--std/mem.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/mem.zig b/std/mem.zig
index 1dfef86a8f..2adb647ef6 100644
--- a/std/mem.zig
+++ b/std/mem.zig
@@ -124,7 +124,7 @@ pub const Allocator = struct {
return self.allocator.allocFn(self.allocator, byte_count, alignment);
}
- fn free(self: &const AsyncAllocator, old_mem: []u8) {
+ fn free(self: &const AsyncAllocator, old_mem: []u8) void {
return self.allocator.freeFn(self.allocator, old_mem);
}
};