Skip to content

Commit 5470a38

Browse files
committed
add inline(always) to option
1 parent 940e0b3 commit 5470a38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/sys/windows/compat.rs

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ macro_rules! compat_fn {
102102
}
103103

104104
#[allow(dead_code)]
105+
#[inline(always)]
105106
pub fn option() -> Option<F> {
106107
unsafe {
107108
if cfg!(miri) {

0 commit comments

Comments
 (0)