std.Thread.Semaphore: Fix wrong variable name

Fixes ziglang#8052
This commit is contained in:
johnLate 2021-02-22 19:29:00 +01:00 committed by Veikka Tuominen
parent 0aef1faa82
commit d9e46dceec

View File

@ -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;