diff options
| author | Ralf Jung <post@ralfj.de> | 2018-08-06 12:34:00 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-08-06 12:34:00 +0200 |
| commit | a92b5cc916a42c6f3425347281bb656d071c26d5 (patch) | |
| tree | 5deabdbd4ee95a5753600dd1ecffc14059a8727d /src/libstd/sys/unix/mutex.rs | |
| parent | 7c98d2e63f732682b057c8c453b08f9e12b262e6 (diff) | |
| download | rust-a92b5cc916a42c6f3425347281bb656d071c26d5.tar.gz rust-a92b5cc916a42c6f3425347281bb656d071c26d5.zip | |
Remove references to `StaticMutex` which got removed a while ago
Diffstat (limited to 'src/libstd/sys/unix/mutex.rs')
| -rw-r--r-- | src/libstd/sys/unix/mutex.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/sys/unix/mutex.rs b/src/libstd/sys/unix/mutex.rs index 52cf3f97c5c..60b03cdbeb0 100644 --- a/src/libstd/sys/unix/mutex.rs +++ b/src/libstd/sys/unix/mutex.rs @@ -49,9 +49,6 @@ impl Mutex { // references, we instead create the mutex with type // PTHREAD_MUTEX_NORMAL which is guaranteed to deadlock if we try to // re-lock it from the same thread, thus avoiding undefined behavior. - // - // We can't do anything for StaticMutex, but that type is deprecated - // anyways. let mut attr: libc::pthread_mutexattr_t = mem::uninitialized(); let r = libc::pthread_mutexattr_init(&mut attr); debug_assert_eq!(r, 0); |
