diff --git a/src/script.rs b/src/script.rs index 360f4d6..5453eae 100644 --- a/src/script.rs +++ b/src/script.rs @@ -10,7 +10,7 @@ impl Error{ pub fn print(self){ match self{ Self::Runner(mlua::Error::RuntimeError(s))=>{ - println!("lua error: {s:?}"); + println!("lua error: {s}"); }, other=>println!("{:?}",other), }