Implemented float literals for OwnedLiterals, not yet for serde_json.

This commit is contained in:
Tom Alexander
2020-06-13 13:37:26 -04:00
parent 8daa746da6
commit 978bbe6eb3
3 changed files with 37 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ pub struct Partial<'a> {
pub enum OwnedLiteral {
LString(String),
LPositiveInteger(u64),
LFloat(f64),
}
#[derive(Debug, PartialEq)]