diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-04-12 16:43:50 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-04-15 19:06:39 -0700 |
| commit | 429cd2b5dd27bec15a4a3351114ce1bcd12d8d01 (patch) | |
| tree | 6f0dda8c4a63d7944046bf9a580e20ba304de814 /lib/std/event | |
| parent | a4bb7c8bb17a4ac692401946df6b9f4cc3e5b1b2 (diff) | |
| download | zig-429cd2b5dd27bec15a4a3351114ce1bcd12d8d01.tar.gz zig-429cd2b5dd27bec15a4a3351114ce1bcd12d8d01.zip | |
std: change `@import("builtin")` to `std.builtin`
Diffstat (limited to 'lib/std/event')
| -rw-r--r-- | lib/std/event/channel.zig | 2 | ||||
| -rw-r--r-- | lib/std/event/future.zig | 2 | ||||
| -rw-r--r-- | lib/std/event/group.zig | 2 | ||||
| -rw-r--r-- | lib/std/event/lock.zig | 2 | ||||
| -rw-r--r-- | lib/std/event/loop.zig | 2 | ||||
| -rw-r--r-- | lib/std/event/rwlock.zig | 2 | ||||
| -rw-r--r-- | lib/std/event/wait_group.zig | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/lib/std/event/channel.zig b/lib/std/event/channel.zig index 2711488705..cb28573203 100644 --- a/lib/std/event/channel.zig +++ b/lib/std/event/channel.zig @@ -4,7 +4,7 @@ // The MIT license requires this copyright notice to be included in all copies // and substantial portions of the software. const std = @import("../std.zig"); -const builtin = @import("builtin"); +const builtin = std.builtin; const assert = std.debug.assert; const testing = std.testing; const Loop = std.event.Loop; diff --git a/lib/std/event/future.zig b/lib/std/event/future.zig index 30a2e46ec5..700a9d6ce0 100644 --- a/lib/std/event/future.zig +++ b/lib/std/event/future.zig @@ -6,7 +6,7 @@ const std = @import("../std.zig"); const assert = std.debug.assert; const testing = std.testing; -const builtin = @import("builtin"); +const builtin = std.builtin; const Lock = std.event.Lock; /// This is a value that starts out unavailable, until resolve() is called diff --git a/lib/std/event/group.zig b/lib/std/event/group.zig index b052c15704..ba21fd20de 100644 --- a/lib/std/event/group.zig +++ b/lib/std/event/group.zig @@ -4,7 +4,7 @@ // The MIT license requires this copyright notice to be included in all copies // and substantial portions of the software. const std = @import("../std.zig"); -const builtin = @import("builtin"); +const builtin = std.builtin; const Lock = std.event.Lock; const testing = std.testing; const Allocator = std.mem.Allocator; diff --git a/lib/std/event/lock.zig b/lib/std/event/lock.zig index d48c6c1520..d1865972cb 100644 --- a/lib/std/event/lock.zig +++ b/lib/std/event/lock.zig @@ -4,7 +4,7 @@ // The MIT license requires this copyright notice to be included in all copies // and substantial portions of the software. const std = @import("../std.zig"); -const builtin = @import("builtin"); +const builtin = std.builtin; const assert = std.debug.assert; const testing = std.testing; const mem = std.mem; diff --git a/lib/std/event/loop.zig b/lib/std/event/loop.zig index 878cea4aa6..b37b9d8711 100644 --- a/lib/std/event/loop.zig +++ b/lib/std/event/loop.zig @@ -4,7 +4,7 @@ // The MIT license requires this copyright notice to be included in all copies // and substantial portions of the software. const std = @import("../std.zig"); -const builtin = @import("builtin"); +const builtin = std.builtin; const root = @import("root"); const assert = std.debug.assert; const testing = std.testing; diff --git a/lib/std/event/rwlock.zig b/lib/std/event/rwlock.zig index 750131beda..d981956c77 100644 --- a/lib/std/event/rwlock.zig +++ b/lib/std/event/rwlock.zig @@ -4,7 +4,7 @@ // The MIT license requires this copyright notice to be included in all copies // and substantial portions of the software. const std = @import("../std.zig"); -const builtin = @import("builtin"); +const builtin = std.builtin; const assert = std.debug.assert; const testing = std.testing; const mem = std.mem; diff --git a/lib/std/event/wait_group.zig b/lib/std/event/wait_group.zig index 0b83c18c74..dde01c61a3 100644 --- a/lib/std/event/wait_group.zig +++ b/lib/std/event/wait_group.zig @@ -4,7 +4,7 @@ // The MIT license requires this copyright notice to be included in all copies // and substantial portions of the software. const std = @import("../std.zig"); -const builtin = @import("builtin"); +const builtin = std.builtin; const Loop = std.event.Loop; /// A WaitGroup keeps track and waits for a group of async tasks to finish. |
