authorgravatar for endel.dreyer@gmail.comEndel Dreyer <endel.dreyer@gmail.com> 2022-02-25 13:38:30-03:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2022-02-26 10:48:37+02:00
logcd9a6fed4fe9e8e93268d2f1b3a7d55c5b35403d
tree1ce6e7a124fc3a7762b7d13bff0073a0bf3fe71c
parent0474943ddfb12552262e3e13f74ecb3842b18019

fix typo on Thread's getHandle docs


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

lib/std/Thread.zig+1-1
...@@ -333,7 +333,7 @@ pub fn spawn(config: SpawnConfig, comptime function: anytype, args: anytype) Spa...@@ -333,7 +333,7 @@ pub fn spawn(config: SpawnConfig, comptime function: anytype, args: anytype) Spa
333/// May be an integer or a pointer depending on the platform.333/// May be an integer or a pointer depending on the platform.
334pub const Handle = Impl.ThreadHandle;334pub const Handle = Impl.ThreadHandle;
335335
336/// Retrns the handle of this thread336/// Returns the handle of this thread
337pub fn getHandle(self: Thread) Handle {337pub fn getHandle(self: Thread) Handle {
338 return self.impl.getHandle();338 return self.impl.getHandle();
339}339}