Mark unix::locks::futex::Mutex::new as #[inline].
This commit is contained in:
parent
4b1b305ccb
commit
104e95f848
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ pub struct Mutex {
|
|||
}
|
||||
|
||||
impl Mutex {
|
||||
#[inline]
|
||||
pub const fn new() -> Self {
|
||||
Self { futex: AtomicI32::new(0) }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue