pub fn replace_consts<'a, S: BuildHasher>( format: &'a str, consts: &HashMap<String, Value, S>, ) -> Cow<'a, str>
Replaces references to constants (of the form %{const_name}) with their respective constants.
%{const_name}