Skip to main content

with_minified_number

Function with_minified_number 

Source
pub fn with_minified_number<R>(val: f64, f: impl FnOnce(&str) -> R) -> R
Expand description

run a function with the minified number: the cached string is borrowed (see minify_number)