diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-08-28 15:34:17 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-01 17:54:06 -0700 |
| commit | c05a20fc8c36742dab8792d15e79716da1a55759 (patch) | |
| tree | bb232f4e121d172ec66f68127f96dc15a28e0ef1 /lib/std/event | |
| parent | 7884d84315f4080bfe429d3e29f7ebedf9f3f623 (diff) | |
| download | zig-c05a20fc8c36742dab8792d15e79716da1a55759.tar.gz zig-c05a20fc8c36742dab8792d15e79716da1a55759.zip | |
std: reorganization that allows new usingnamespace semantics
The proposal #9629 is now accepted, usingnamespace stays but no longer
puts identifiers in scope.
Diffstat (limited to 'lib/std/event')
| -rw-r--r-- | lib/std/event/rwlock.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/event/rwlock.zig b/lib/std/event/rwlock.zig index 43d41b860e..951f305cff 100644 --- a/lib/std/event/rwlock.zig +++ b/lib/std/event/rwlock.zig @@ -4,6 +4,7 @@ const assert = std.debug.assert; const testing = std.testing; const mem = std.mem; const Loop = std.event.Loop; +const Allocator = std.mem.Allocator; /// Thread-safe async/await lock. /// Functions which are waiting for the lock are suspended, and |
