about summary refs log tree commit diff
path: root/tvix/eval/src/chunk.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/chunk.rs')
-rw-r--r--tvix/eval/src/chunk.rs12
1 files changed, 5 insertions, 7 deletions
diff --git a/tvix/eval/src/chunk.rs b/tvix/eval/src/chunk.rs
index 95659cffa58f..e9c65db72590 100644
--- a/tvix/eval/src/chunk.rs
+++ b/tvix/eval/src/chunk.rs
@@ -155,13 +155,11 @@ impl Chunk {
             write!(writer, "{:4}\t", line)?;
         }
 
-        let a = |idx| {
-            match &self[idx] {
-                Value::Thunk(t) => t.debug_repr(),
-                Value::Closure(c) => format!("closure({:p})", c.lambda),
-                Value::Blueprint(b) => format!("blueprint({:p})", b),
-                val => format!("{}", val),
-            }
+        let a = |idx| match &self[idx] {
+            Value::Thunk(t) => t.debug_repr(),
+            Value::Closure(c) => format!("closure({:p})", c.lambda),
+            Value::Blueprint(b) => format!("blueprint({:p})", b),
+            val => format!("{}", val),
         };
 
         match self[idx] {