Use #[expect(lint)] where possible

This commit is contained in:
gwenn
2024-09-05 20:51:58 +02:00
parent 5464f4f386
commit a00acd23a6
23 changed files with 44 additions and 59 deletions

View File

@@ -18,7 +18,7 @@ use rusqlite::{Connection, Result};
/// sqlite> SELECT rusqlite_test_function();
/// Rusqlite extension loaded correctly!
/// ```
#[allow(clippy::not_unsafe_ptr_arg_deref)]
#[expect(clippy::not_unsafe_ptr_arg_deref)]
#[no_mangle]
pub unsafe extern "C" fn sqlite3_extension_init(
db: *mut ffi::sqlite3,