summaryrefslogtreecommitdiff
path: root/dhall
diff options
context:
space:
mode:
authorNadrieril2020-01-16 17:20:10 +0000
committerNadrieril2020-01-16 18:09:30 +0000
commitbc12f1179143f20a54664ba8ce51d24834d2f1ff (patch)
tree4e19a23be2205cc2a2267eada6aabf79b631c9df /dhall
parentaf7e5741d4a6f581a1b4efd336e739fd116c5e7b (diff)
Deserialize more types
Diffstat (limited to '')
-rw-r--r--dhall/src/syntax/ast/text.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/dhall/src/syntax/ast/text.rs b/dhall/src/syntax/ast/text.rs
index fb390ee..83aaf9a 100644
--- a/dhall/src/syntax/ast/text.rs
+++ b/dhall/src/syntax/ast/text.rs
@@ -97,6 +97,10 @@ impl<SubExpr> InterpolatedText<SubExpr> {
&self.head
}
+ pub fn tail(&self) -> &Vec<(SubExpr, String)> {
+ &self.tail
+ }
+
pub fn head_mut(&mut self) -> &mut String {
&mut self.head
}