aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorEndel Dreyer <endel.dreyer@gmail.com>2022-02-25 13:38:30 -0300
committerVeikka Tuominen <git@vexu.eu>2022-02-26 10:48:37 +0200
commitcd9a6fed4fe9e8e93268d2f1b3a7d55c5b35403d (patch)
tree1ce6e7a124fc3a7762b7d13bff0073a0bf3fe71c /lib/std/Thread.zig
parent0474943ddfb12552262e3e13f74ecb3842b18019 (diff)
downloadzig-cd9a6fed4fe9e8e93268d2f1b3a7d55c5b35403d.tar.gz
zig-cd9a6fed4fe9e8e93268d2f1b3a7d55c5b35403d.zip
fix typo on Thread's getHandle docs
Diffstat (limited to 'lib/std/Thread.zig')
-rw-r--r--lib/std/Thread.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig
index 07e5b9d233..60bbe2c09c 100644
--- a/lib/std/Thread.zig
+++ b/lib/std/Thread.zig
@@ -333,7 +333,7 @@ pub fn spawn(config: SpawnConfig, comptime function: anytype, args: anytype) Spa
/// May be an integer or a pointer depending on the platform.
pub const Handle = Impl.ThreadHandle;
-/// Retrns the handle of this thread
+/// Returns the handle of this thread
pub fn getHandle(self: Thread) Handle {
return self.impl.getHandle();
}