summaryrefslogtreecommitdiff
path: root/dhall
diff options
context:
space:
mode:
authorNadrieril2020-03-13 20:16:08 +0000
committerNadrieril2020-03-31 21:44:01 +0100
commitb3a05d930dd8f2bbc705145219025af96e5dec86 (patch)
treea906c5e497c57c2bb392b612e4cead897da61dda /dhall
parent35db1b4b54dba8b0cafe661329e0099dfabd8073 (diff)
Use dhall::Value more in serde
Diffstat (limited to 'dhall')
-rw-r--r--dhall/src/simple.rs2
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)]