diff --git a/sqlx-core/src/sqlite/connection/mod.rs b/sqlx-core/src/sqlite/connection/mod.rs index 5e3d3d12..d70c1c89 100644 --- a/sqlx-core/src/sqlite/connection/mod.rs +++ b/sqlx-core/src/sqlite/connection/mod.rs @@ -36,7 +36,7 @@ pub struct SqliteConnection { impl SqliteConnection { /// Returns the underlying sqlite3* connection handle - pub fn as_raw_handle(&self) -> *mut sqlite3 { + pub fn as_raw_handle(&mut self) -> *mut sqlite3 { self.handle.as_ptr() } }