mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Require a mutable reference to self
This commit is contained in:
parent
cac3f193d7
commit
72c4e040bc
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user