From bc12f1179143f20a54664ba8ce51d24834d2f1ff Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Thu, 16 Jan 2020 17:20:10 +0000 Subject: Deserialize more types --- dhall/src/syntax/ast/text.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dhall/src/syntax') 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 InterpolatedText { &self.head } + pub fn tail(&self) -> &Vec<(SubExpr, String)> { + &self.tail + } + pub fn head_mut(&mut self) -> &mut String { &mut self.head } -- cgit v1.2.3