summaryrefslogtreecommitdiff
path: root/dhall_core/src/core.rs
diff options
context:
space:
mode:
authorNadrieril2019-03-20 00:44:27 +0100
committerNadrieril2019-03-20 00:44:27 +0100
commit640a36906361ef5ef98fb66fd37246f084739d25 (patch)
tree630a18bf8bfc7820c12e0144738878eca8ff6331 /dhall_core/src/core.rs
parent3a967a0eef8b69f7fc8bbc7655945edbbe2b579e (diff)
Handle simple parsing cases with new macros
Diffstat (limited to 'dhall_core/src/core.rs')
-rw-r--r--dhall_core/src/core.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhall_core/src/core.rs b/dhall_core/src/core.rs
index 32f9c85..e7c9f2a 100644
--- a/dhall_core/src/core.rs
+++ b/dhall_core/src/core.rs
@@ -199,6 +199,7 @@ impl<N, E> From<String> for InterpolatedText<N, E> {
}
}
+#[derive(Debug, Clone)]
pub enum InterpolatedTextContents<'a, Note, Embed> {
Text(&'a str),
Expr(SubExpr<Note, Embed>),