diff options
author | Nadrieril | 2020-03-13 20:16:08 +0000 |
---|---|---|
committer | Nadrieril | 2020-03-31 21:44:01 +0100 |
commit | b3a05d930dd8f2bbc705145219025af96e5dec86 (patch) | |
tree | a906c5e497c57c2bb392b612e4cead897da61dda /dhall | |
parent | 35db1b4b54dba8b0cafe661329e0099dfabd8073 (diff) |
Use dhall::Value more in serde
Diffstat (limited to 'dhall')
-rw-r--r-- | dhall/src/simple.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/simple.rs b/dhall/src/simple.rs index 9c4d6ba..32c9c79 100644 --- a/dhall/src/simple.rs +++ b/dhall/src/simple.rs @@ -12,11 +12,11 @@ pub struct SimpleValue { #[derive(Debug, Clone, PartialEq, Eq)] pub enum SValKind { Num(NumKind), + Text(String), Optional(Option<SimpleValue>), List(Vec<SimpleValue>), Record(BTreeMap<String, SimpleValue>), Union(String, Option<SimpleValue>), - Text(String), } #[derive(Debug, Clone, PartialEq, Eq)] |