about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorPatrick-6 <pamu99@gmx.ch>2025-05-28 15:13:38 +0200
committerPatrick-6 <pamu99@gmx.ch>2025-05-28 15:13:38 +0200
commit149b5b2567535af761d16ed388b653740db7a457 (patch)
treea98212da5059ceaf6856c47a6557ad9fcd6d3c1f /library/std
parent2e99a880e22f5a1f3800e1a26828b188204d037e (diff)
downloadrust-149b5b2567535af761d16ed388b653740db7a457.tar.gz
rust-149b5b2567535af761d16ed388b653740db7a457.zip
Make pthread Mutex internals less public
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/sys/sync/mutex/pthread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/sync/mutex/pthread.rs b/library/std/src/sys/sync/mutex/pthread.rs
index 52588a7899a..1d442248374 100644
--- a/library/std/src/sys/sync/mutex/pthread.rs
+++ b/library/std/src/sys/sync/mutex/pthread.rs
@@ -6,7 +6,7 @@ use crate::sys::pal::sync as pal;
 use crate::sys::sync::OnceBox;
 
 pub struct Mutex {
-    pub pal: OnceBox<pal::Mutex>,
+    pub(in crate::sys::sync) pal: OnceBox<pal::Mutex>,
 }
 
 impl Mutex {