fix the problem
This commit is contained in:
parent
a4e2ed7e2f
commit
1585e2f321
@ -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),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user