Skip to content

Commit 084dea0

Browse files
author
梶塚太智
committed
Update main.rs
1 parent 754fb88 commit 084dea0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -964,10 +964,9 @@ impl Executor {
964964
if let Some(value) = self.stack.pop() {
965965
value
966966
} else {
967-
self.log_print(
967+
self.log_print(format!(
968968
"Error! There are not enough values on the stack. returns default value\n"
969-
.to_string(),
970-
);
969+
));
971970
Type::String("".to_string())
972971
}
973972
}

0 commit comments

Comments
 (0)