Commit d9e46dceec

johnLate <inbox-121@johnlate.scnr.net>
2021-02-22 19:29:00
std.Thread.Semaphore: Fix wrong variable name
Fixes ziglang#8052
1 parent 0aef1fa
Changed files (1)
lib
std
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;