From 271f1ca032fbd813fb5a8365ee58154f2febbfcb Mon Sep 17 00:00:00 2001 From: Andrew Morris Date: Mon, 16 May 2022 10:13:51 +1000 Subject: [PATCH] Fix void's val_to_string --- src/vstc/virtual_machine/vs_value.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vstc/virtual_machine/vs_value.rs b/src/vstc/virtual_machine/vs_value.rs index 8288263..f435cfa 100644 --- a/src/vstc/virtual_machine/vs_value.rs +++ b/src/vstc/virtual_machine/vs_value.rs @@ -73,7 +73,7 @@ impl ValTrait for Val { use Val::*; return match self { - Void => "undefined".to_string(), + Void => "".to_string(), Undefined => "undefined".to_string(), Null => "null".to_string(), Bool(b) => b.to_string(),