diff --git a/src/nodes/from_str.rs b/src/nodes/from_str.rs index 754e5f2..a28b15a 100644 --- a/src/nodes/from_str.rs +++ b/src/nodes/from_str.rs @@ -21,8 +21,8 @@ impl TryFrom for Operator { match value { '+' => Ok(Self::Plus), '-' => Ok(Self::Minus), - '*' => Ok(Self::Mult), - '/' => Ok(Self::Div), + '*' | '×' => Ok(Self::Mult), + '/' | '÷' => Ok(Self::Div), '^' => Ok(Self::Exp), _ => Err(value), }