fixed substitutions

pull/2/head
Mark 2023-03-28 13:31:40 -07:00
parent ac57f13888
commit eb101439d9
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
1 changed files with 2 additions and 5 deletions

View File

@ -28,6 +28,8 @@ pub(in crate::parser) fn find_subs(
let target = match &s[..] { let target = match &s[..] {
"*" => {Some("×")}, "*" => {Some("×")},
"/" => {Some("÷")}, "/" => {Some("÷")},
"sqrt" => {Some("")},
"rt" => {Some("")},
_ => {None} _ => {None}
}; };
@ -64,11 +66,6 @@ pub(in crate::parser) fn find_subs(
"chi" => {Some("χ")}, "chi" => {Some("χ")},
"psi" => {Some("ψ")}, "psi" => {Some("ψ")},
"omega" => {Some("ω")}, "omega" => {Some("ω")},
// Operators
"sqrt" => {Some("")},
"rt" => {Some("")},
_ => {None} _ => {None}
}; };