Require a mutable reference to self

This commit is contained in:
Tim Murison 2020-06-23 16:51:27 -04:00 committed by Ryan Leckey
parent cac3f193d7
commit 72c4e040bc

View File

@ -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()
}
}