mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
add inline(always) to option
This commit is contained in:
parent
940e0b3765
commit
5470a38921
@ -102,6 +102,7 @@ macro_rules! compat_fn {
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[inline(always)]
|
||||
pub fn option() -> Option<F> {
|
||||
unsafe {
|
||||
if cfg!(miri) {
|
||||
|
Loading…
Reference in New Issue
Block a user