Mark unix::locks::futex::Mutex::new as #[inline].
This commit is contained in:
parent
4b1b305ccb
commit
104e95f848
@ -16,6 +16,7 @@ pub struct Mutex {
|
||||
}
|
||||
|
||||
impl Mutex {
|
||||
#[inline]
|
||||
pub const fn new() -> Self {
|
||||
Self { futex: AtomicI32::new(0) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user