pub fn canonicalize_unit_expression(expr: &str) -> Result<String, ParseError>Expand description
Rewrite a unit expression to preferred names (A → angstrom, ev → eV).
The expression MUST parse (unit_conversion_factor identity).
pub fn canonicalize_unit_expression(expr: &str) -> Result<String, ParseError>Rewrite a unit expression to preferred names (A → angstrom, ev → eV).
The expression MUST parse (unit_conversion_factor identity).