Function strfmt::strfmt_display

source ·
pub fn strfmt_display<'a, K, T: Display>(
    fmtstr: &str,
    vars: &HashMap<K, T>
) -> Result<String>where
    K: Hash + Eq + FromStr,
👎Deprecated since 0.2.0: This function contains a bug when formatting numbers. Use strfmt instead
Expand description

Rust-style format a string given a HashMap of the variables. see [strfmt] for details