rust: sync: Add MutexGuard type alias

A simple helper alias for code that needs to deal with Guard types returned
from Mutexes.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Link: https://lore.kernel.org/r/20241120222742.2490495-2-lyude@redhat.com
This commit is contained in:
Lyude Paul 2024-11-20 17:26:28 -05:00 • committed by Boqun Feng
commit 37624dde47
2 changed files with 9 additions and 1 deletions