[][src]Function microbench::retain

pub fn retain<T>(value: T) -> T

A function that prevents the optimizer from eliminating the supplied value.

This function may not operate correctly or may have poor performance on the stable and beta channels of Rust. If you are using a nightly release of Rust, enable the nightly crate feature to enable a superior implementation of this function.