diff options
| author | r00ster91 <r00ster91@proton.me> | 2023-06-02 22:02:45 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-16 13:44:09 -0700 |
| commit | 259315606827620daaabf82b479e59ee710097cd (patch) | |
| tree | 16c797e4cc15479a27e64b4414517d9334f52250 /lib/std/event/loop.zig | |
| parent | 22c6b6c9a9378aaca75c83c2182a6d94298f6bc2 (diff) | |
| download | zig-259315606827620daaabf82b479e59ee710097cd.tar.gz zig-259315606827620daaabf82b479e59ee710097cd.zip | |
migration: std.math.{min, min3, max, max3} -> `@min` & `@max`
Diffstat (limited to 'lib/std/event/loop.zig')
| -rw-r--r-- | lib/std/event/loop.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/event/loop.zig b/lib/std/event/loop.zig index c8d41d3eb0..bc0162423b 100644 --- a/lib/std/event/loop.zig +++ b/lib/std/event/loop.zig @@ -179,7 +179,7 @@ pub const Loop = struct { // We need at least one of these in case the fs thread wants to use onNextTick const extra_thread_count = thread_count - 1; - const resume_node_count = std.math.max(extra_thread_count, 1); + const resume_node_count = @max(extra_thread_count, 1); self.eventfd_resume_nodes = try self.arena.allocator().alloc( std.atomic.Stack(ResumeNode.EventFd).Node, resume_node_count, |
