diff options
| author | Patrick-6 <pamu99@gmx.ch> | 2025-05-28 15:13:38 +0200 |
|---|---|---|
| committer | Patrick-6 <pamu99@gmx.ch> | 2025-05-28 15:13:38 +0200 |
| commit | 149b5b2567535af761d16ed388b653740db7a457 (patch) | |
| tree | a98212da5059ceaf6856c47a6557ad9fcd6d3c1f /library/std | |
| parent | 2e99a880e22f5a1f3800e1a26828b188204d037e (diff) | |
| download | rust-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.rs | 2 |
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 { |
