diff options
Diffstat (limited to 'tvix/eval/src/value/mod.rs')
-rw-r--r-- | tvix/eval/src/value/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/src/value/mod.rs b/tvix/eval/src/value/mod.rs index 124ce881d9a1..34dbf06231d4 100644 --- a/tvix/eval/src/value/mod.rs +++ b/tvix/eval/src/value/mod.rs @@ -217,7 +217,7 @@ impl Value { if let Value::Thunk(t) = f { t.force(vm)?; let guard = t.value(); - call_to_string(&*guard, vm) + call_to_string(&guard, vm) } else { call_to_string(f, vm) } @@ -451,7 +451,7 @@ impl Value { if let Some(name) = &f.lambda.name { format!("the user-defined Nix function '{}'", name) } else { - format!("a user-defined Nix function") + "a user-defined Nix function".to_string() } } |