mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-30 21:38:57 +08:00
Add #[inline] and #[cold] in far more places
This commit is contained in:
@@ -155,6 +155,7 @@ fn make_nonnull(v: &str) -> String {
|
||||
}
|
||||
|
||||
impl Drop for SqliteMallocString {
|
||||
#[inline]
|
||||
fn drop(&mut self) {
|
||||
unsafe { ffi::sqlite3_free(self.ptr.as_ptr().cast()) };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user