pub fn flush<T>(thing: &T) -> T
Expand description
flush a volatile variable: rust doesn’t have a volatile keyword. When a “const static” variable is expected to be written externally the optimized code may go wrong.
pub fn flush<T>(thing: &T) -> T
flush a volatile variable: rust doesn’t have a volatile keyword. When a “const static” variable is expected to be written externally the optimized code may go wrong.