authorgravatar for bblack@wikimedia.orgBrandon Black <bblack@wikimedia.org> 2026-01-14 18:14:43-06:00
committergravatar for bblack@wikimedia.orgBrandon Black <bblack@wikimedia.org> 2026-01-14 18:23:45-06:00
log46fcf22630849f68f92aec64d38f44b0c4b3a943
treef58a4e98fa2090048f796468151dd9e28c6221d2
parent4df6119335513af5b8d7dc0f6421b42cf13c3654

Io.Select: docs nits


1 files changed, 3 insertions(+), 3 deletions(-)

lib/std/Io.zig+3-3
......@@ -1250,7 +1250,7 @@ pub fn Select(comptime U: type) type {
12501250 /// already been called and completed, or it has successfully been
12511251 /// assigned a unit of concurrency.
12521252 ///
1253 /// After this is called, `wait` or `cancel` must be called before the
1253 /// After this is called, `await` or `cancel` must be called before the
12541254 /// select is deinitialized.
12551255 ///
12561256 /// Threadsafe.
......@@ -1293,12 +1293,12 @@ pub fn Select(comptime U: type) type {
12931293 };
12941294 }
12951295
1296 /// Equivalent to `wait` but requests cancelation on all remaining
1296 /// Equivalent to `await` but requests cancelation on all remaining
12971297 /// tasks owned by the select.
12981298 ///
12991299 /// For a description of cancelation and cancelation points, see `Future.cancel`.
13001300 ///
1301 /// It is illegal to call `wait` after this.
1301 /// It is illegal to call `await` after this.
13021302 ///
13031303 /// Idempotent. Not threadsafe.
13041304 pub fn cancel(s: *S) void {