| author | |
| committer | |
| log | 45339aec02124b8ae9480eeb69fd6cd5bd2ee5aa |
| tree | 99820e4812e1db11766119de5bb34bbc975210ed |
| parent | 33b5dbb82c3c68596ce41abcea6aea3834c0d3a7 |
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 | 49 | } |
| 50 | 50 | |
| 51 | 51 | /// Free a mutex created with init. Calling this while the |
| 52 | /// mutex is held may result in safety-checked undefined | |
| 53 | /// behavior. | |
| 52 | /// mutex is held is illegal behavior. | |
| 54 | 53 | pub fn deinit(self: *Mutex) void { |
| 55 | 54 | self.* = undefined; |
| 56 | 55 | } |