Update : Panic message is not a string literal.
This commit is contained in:
parent
05c4dacbe9
commit
78692793a5
@ -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),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user