aboutsummaryrefslogtreecommitdiff
path: root/lib/std/mutex.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-12-10 11:13:39 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-12-10 11:13:39 -0500
commit9561e7c6b9fb2d9ebcbfd611196db698372ae7bd (patch)
tree6b4fd0751e80a9c4128756d59d3c0bfecd230498 /lib/std/mutex.zig
parentcd4d638d10365e47bcb371119dcee22581355ac4 (diff)
parent30715560c829d5636734edf7eabff3ee4d170e5d (diff)
downloadzig-9561e7c6b9fb2d9ebcbfd611196db698372ae7bd.tar.gz
zig-9561e7c6b9fb2d9ebcbfd611196db698372ae7bd.zip
Merge branch 'Snektron-typeOf-to-TypeOf'
closes #3875 closes #1348
Diffstat (limited to 'lib/std/mutex.zig')
-rw-r--r--lib/std/mutex.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/mutex.zig b/lib/std/mutex.zig
index 39cfab19ce..71188054f3 100644
--- a/lib/std/mutex.zig
+++ b/lib/std/mutex.zig
@@ -11,7 +11,7 @@ const ResetEvent = std.ResetEvent;
/// no-ops. In single threaded debug mode, there is deadlock detection.
pub const Mutex = if (builtin.single_threaded)
struct {
- lock: @typeOf(lock_init),
+ lock: @TypeOf(lock_init),
const lock_init = if (std.debug.runtime_safety) false else {};