summaryrefslogtreecommitdiff
path: root/src/eval/value.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval/value.rs')
-rw-r--r--src/eval/value.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eval/value.rs b/src/eval/value.rs
index 5edf0362..77cb766c 100644
--- a/src/eval/value.rs
+++ b/src/eval/value.rs
@@ -88,6 +88,11 @@ impl Value {
{
T::cast(self)
}
+
+ /// Join the value with another value.
+ pub fn join(self, rhs: Self) -> StrResult<Self> {
+ ops::join(self, rhs)
+ }
}
impl Default for Value {