Skip to content

Commit 0c174e6

Browse files
梶塚太智thejustcube
authored andcommitted
Update main.rs
1 parent ce3cc7e commit 0c174e6

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)