Mark unix::locks::futex::Mutex::new as #[inline].

This commit is contained in:
Mara Bos 2022-04-05 13:58:10 +02:00
parent 4b1b305ccb
commit 104e95f848

View File

@ -16,6 +16,7 @@ pub struct Mutex {
}
impl Mutex {
#[inline]
pub const fn new() -> Self {
Self { futex: AtomicI32::new(0) }
}