about summary refs log tree commit diff
path: root/library/std/src/sys/unix/locks/mod.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-06 23:06:08 +0200
committerGitHub <noreply@github.com>2022-04-06 23:06:08 +0200
commitd2697e31280bae9e85adda11b87e6fc76db0ed63 (patch)
tree5552db7b99d93eefe3b88618fb32a2c500fb5aca /library/std/src/sys/unix/locks/mod.rs
parentbd92c7c6d77bc8d3fb95f3f2910ca196e29a009d (diff)
parent6e16f9b10f676e87c5d31263759c3b9a65be0a35 (diff)
downloadrust-d2697e31280bae9e85adda11b87e6fc76db0ed63.tar.gz
rust-d2697e31280bae9e85adda11b87e6fc76db0ed63.zip
Rollup merge of #95730 - m-ou-se:rwlock-case, r=Dylan-DPC
Rename RWLock to RwLock in std::sys.

std::sync::RwLock is spelled with two capital letters, but std::sys's RWLock was spelled with three capital letters. This cleans that up and uses `RwLock` everywhere.
Diffstat (limited to 'library/std/src/sys/unix/locks/mod.rs')
-rw-r--r--library/std/src/sys/unix/locks/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/unix/locks/mod.rs b/library/std/src/sys/unix/locks/mod.rs
index 30e9f407eec..2b8dd168068 100644
--- a/library/std/src/sys/unix/locks/mod.rs
+++ b/library/std/src/sys/unix/locks/mod.rs
@@ -10,7 +10,7 @@ cfg_if::cfg_if! {
         mod pthread_rwlock; // FIXME: Implement this using a futex
         pub use futex::{Mutex, MovableMutex, Condvar, MovableCondvar};
         pub use pthread_remutex::ReentrantMutex;
-        pub use pthread_rwlock::{RWLock, MovableRWLock};
+        pub use pthread_rwlock::{RwLock, MovableRwLock};
     } else {
         mod pthread_mutex;
         mod pthread_remutex;
@@ -18,7 +18,7 @@ cfg_if::cfg_if! {
         mod pthread_condvar;
         pub use pthread_mutex::{Mutex, MovableMutex};
         pub use pthread_remutex::ReentrantMutex;
-        pub use pthread_rwlock::{RWLock, MovableRWLock};
+        pub use pthread_rwlock::{RwLock, MovableRwLock};
         pub use pthread_condvar::{Condvar, MovableCondvar};
     }
 }