We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3d3110 commit 819645bCopy full SHA for 819645b
src/libstd/sys_common/mutex.rs
@@ -32,7 +32,7 @@ impl Mutex {
32
/// Prepare the mutex for use.
33
///
34
/// This should be called once the mutex is at a stable memory address.
35
- /// It must not be called concurrently with any other operation.
+ /// Behavior is undefined unless this is called before any other operation.
36
#[inline]
37
pub unsafe fn init(&mut self) { self.0.init() }
38
0 commit comments