diff options
Diffstat (limited to 'tvix/eval/src/value')
-rw-r--r-- | tvix/eval/src/value/mod.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tvix/eval/src/value/mod.rs b/tvix/eval/src/value/mod.rs index ea9e173ebc40..d3b981b78cba 100644 --- a/tvix/eval/src/value/mod.rs +++ b/tvix/eval/src/value/mod.rs @@ -359,6 +359,12 @@ impl Display for Value { } } +impl From<bool> for Value { + fn from(b: bool) -> Self { + Value::Bool(b) + } +} + impl From<i64> for Value { fn from(i: i64) -> Self { Self::Integer(i) |