fix the problem

This commit is contained in:
Quaternions 2024-09-17 18:26:30 -07:00
parent a4e2ed7e2f
commit 1585e2f321

View File

@ -10,7 +10,7 @@ impl Error{
pub fn print(self){ pub fn print(self){
match self{ match self{
Self::Runner(mlua::Error::RuntimeError(s))=>{ Self::Runner(mlua::Error::RuntimeError(s))=>{
println!("lua error: {s:?}"); println!("lua error: {s}");
}, },
other=>println!("{:?}",other), other=>println!("{:?}",other),
} }