We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
{}
1 parent e1d8118 commit 24ab4bcCopy full SHA for 24ab4bc
1 file changed
src/shim.rs
@@ -118,10 +118,7 @@ pub unsafe extern "C" fn rust_sqlite_wasm_assert_fail(
118
let expr = std::ffi::CStr::from_ptr(expr).to_string_lossy();
119
let file = std::ffi::CStr::from_ptr(file).to_string_lossy();
120
let func = std::ffi::CStr::from_ptr(func).to_string_lossy();
121
- panic!(
122
- "{}",
123
- format!("Assertion failed: {expr} ({file}: {func}: {line})")
124
- );
+ panic!("Assertion failed: {expr} ({file}: {func}: {line})");
125
}
126
127
#[no_mangle]
0 commit comments