From 1ebc455715958d131cc00caa9aa6c58fa8e7b726 Mon Sep 17 00:00:00 2001 From: Noam Rothschild Date: Sat, 2 May 2026 20:38:13 +0300 Subject: [PATCH] std: fixed a doc comment on IoUring.copy_cqes (#35175) --- lib/std/os/linux/IoUring.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/os/linux/IoUring.zig b/lib/std/os/linux/IoUring.zig index 49720ac4eaf641b39fdd0f1ea066ddc4245857ba..a3723244cd9b23a04bd2dacf800fd83b95d39a4c 100644 --- a/lib/std/os/linux/IoUring.zig +++ b/lib/std/os/linux/IoUring.zig @@ -267,7 +267,7 @@ pub fn cq_ready(self: *IoUring) u32 { } /// Copies as many CQEs as are ready, and that can fit into the destination `cqes` slice. -/// If none are available, enters into the kernel to wait for at most `wait_nr` CQEs. +/// If none are available, enters into the kernel to wait for at least `wait_nr` CQEs. /// Returns the number of CQEs copied, advancing the CQ ring. /// Provides all the wait/peek methods found in liburing, but with batching and a single method. /// The rationale for copying CQEs rather than copying pointers is that pointers are 8 bytes -- 2.54.0