Update : Panic message is not a string literal.

This commit is contained in:
EmPablo 2021-06-26 11:46:22 +08:00 committed by GitHub
parent 05c4dacbe9
commit 78692793a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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),
}
}
}