Skip to content

Commit 104e95f

Browse files
committed
Mark unix::locks::futex::Mutex::new as #[inline].
1 parent 4b1b305 commit 104e95f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/sys/unix/locks/futex.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub struct Mutex {
1616
}
1717

1818
impl Mutex {
19+
#[inline]
1920
pub const fn new() -> Self {
2021
Self { futex: AtomicI32::new(0) }
2122
}

0 commit comments

Comments
 (0)