Wire up serde_json for the math functions.

This commit is contained in:
Tom Alexander
2020-06-13 22:55:38 -04:00
parent 431b34dac7
commit cdd10576e8
2 changed files with 103 additions and 9 deletions

View File

@@ -233,7 +233,7 @@ impl CompareContextElement for OwnedLiteral {
OwnedLiteral::LNegativeInteger(self_num),
OwnedLiteral::LNegativeInteger(other_num),
) => self_num == other_num,
(OwnedLiteral::LString(self_text), _) | (_, OwnedLiteral::LString(self_text)) => {
(OwnedLiteral::LString(_self_text), _) | (_, OwnedLiteral::LString(_self_text)) => {
false
}
(OwnedLiteral::LFloat(self_num), OwnedLiteral::LFloat(other_num)) => {