From 78692793a5394579d864cf35207f848176ae34c7 Mon Sep 17 00:00:00 2001 From: EmPablo <86248750+EmPablo@users.noreply.github.com> Date: Sat, 26 Jun 2021 11:46:22 +0800 Subject: [PATCH] Update : Panic message is not a string literal. --- libs/rust-sciter/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/rust-sciter/src/lib.rs b/libs/rust-sciter/src/lib.rs index 00d3838eb..ed89455b1 100644 --- a/libs/rust-sciter/src/lib.rs +++ b/libs/rust-sciter/src/lib.rs @@ -349,7 +349,7 @@ mod ext { pub fn SciterAPI() -> *const ISciterAPI { match try_load_library(true) { Ok(api) => api, - Err(error) => panic!(error), + Err(error) => panic!("{}", error), } } }