From 1585e2f32178faaaa5f2d15b54a68415b28142b7 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 17 Sep 2024 18:26:30 -0700 Subject: [PATCH] fix the problem --- src/script.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), }