[][src]Function core::hint::black_box

pub fn black_box<T>(dummy: T) -> T
🔬 This is a nightly-only experimental API. (test #27812)

A function that is opaque to the optimizer, to allow benchmarks to pretend to use outputs to assist in avoiding dead-code elimination.

This function is a no-op, and does not even read from dummy.