Commit 45339aec02

Nathan Michaels <nathan@nmichaels.org>
2019-12-21 07:30:55
Fix wording on deinit.
1 parent 33b5dbb
Changed files (1)
lib
lib/std/mutex.zig
@@ -49,8 +49,7 @@ pub const Mutex = if (builtin.single_threaded)
         }
 
         /// Free a mutex created with init. Calling this while the
-        /// mutex is held may result in safety-checked undefined
-        /// behavior.
+        /// mutex is held is illegal behavior.
         pub fn deinit(self: *Mutex) void {
             self.* = undefined;
         }