authorgravatar for nathan@nmichaels.orgNathan Michaels <nathan@nmichaels.org> 2019-12-21 01:30:55-05:00
committergravatar for nathan@nmichaels.orgNathan Michaels <nathan@nmichaels.org> 2019-12-21 01:30:55-05:00
log45339aec02124b8ae9480eeb69fd6cd5bd2ee5aa
tree99820e4812e1db11766119de5bb34bbc975210ed
parent33b5dbb82c3c68596ce41abcea6aea3834c0d3a7

Fix wording on deinit.


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

lib/std/mutex.zig+1-2
...@@ -49,8 +49,7 @@ pub const Mutex = if (builtin.single_threaded)...@@ -49,8 +49,7 @@ pub const Mutex = if (builtin.single_threaded)
49 }49 }
5050
51 /// Free a mutex created with init. Calling this while the51 /// Free a mutex created with init. Calling this while the
52 /// mutex is held may result in safety-checked undefined52 /// mutex is held is illegal behavior.
53 /// behavior.
54 pub fn deinit(self: *Mutex) void {53 pub fn deinit(self: *Mutex) void {
55 self.* = undefined;54 self.* = undefined;
56 }55 }