Skip to content

Commit 415cb23

Browse files
committed
Revert "Change new black_box impl to also be #[inline(never)]."
This reverts commit 6410953.
1 parent 6b6a81a commit 415cb23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ fn black_box(input: u8) -> u8 {
243243
}
244244

245245
#[cfg(feature = "core_hint_black_box")]
246-
#[inline(never)]
246+
#[inline]
247247
fn black_box(input: u8) -> u8 {
248248
debug_assert!((input == 0u8) | (input == 1u8));
249249
core::hint::black_box(input)

0 commit comments

Comments
 (0)