Merge pull request #122 from EmPablo/patch-2

Update : Panic message is not a string literal.
This commit is contained in:
RustDesk 2021-06-26 12:18:07 +08:00 committed by GitHub
commit 25ffaa7966
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),
}
}
}