Skip to content

Commit f2ed852

Browse files
author
梶塚太智
committed
Update main.rs
1 parent 1d34bfe commit f2ed852

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,8 @@ impl Executor {
783783
return;
784784
}
785785
}
786-
self.log_print(String::from("Error! item not found in the list").as_str().to_owned() + "\n");
786+
787+
self.log_print(String::from("Error! item not found in the list\n"));
787788
self.stack.push(Type::Error(String::from("item-not-found")));
788789
}
789790

0 commit comments

Comments
 (0)