From d9e46dceeca3f66b87e6b2e36415417495d2d2a0 Mon Sep 17 00:00:00 2001 From: johnLate Date: Mon, 22 Feb 2021 19:29:00 +0100 Subject: [PATCH] std.Thread.Semaphore: Fix wrong variable name Fixes ziglang#8052 --- lib/std/Thread/Semaphore.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/Thread/Semaphore.zig b/lib/std/Thread/Semaphore.zig index 77a278b355..a899cd9b6f 100644 --- a/lib/std/Thread/Semaphore.zig +++ b/lib/std/Thread/Semaphore.zig @@ -13,7 +13,7 @@ cond: Condition = .{}, //! It is OK to initialize this field to any value. permits: usize = 0, -const RwLock = @This(); +const Semaphore = @This(); const std = @import("../std.zig"); const Mutex = std.Thread.Mutex; const Condition = std.Thread.Condition;