We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[inline]
black_box
1 parent 3cf2a69 commit fbc5f67Copy full SHA for fbc5f67
library/core/src/hint.rs
@@ -152,6 +152,7 @@ pub fn spin_loop() {
152
/// backend used. Programs cannot rely on `black_box` for *correctness* in any way.
153
///
154
/// [`std::convert::identity`]: crate::convert::identity
155
+#[inline]
156
#[unstable(feature = "bench_black_box", issue = "64102")]
157
#[cfg_attr(not(bootstrap), allow(unused_mut))]
158
pub fn black_box<T>(mut dummy: T) -> T {
0 commit comments