[src]

Function test::black_box

pub fn black_box<T>(dummy: T)

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.