Skip to content

Commit

Permalink
Require a mutable reference to self
Browse files Browse the repository at this point in the history
  • Loading branch information
agentsim authored and mehcode committed Jun 24, 2020
1 parent cac3f19 commit 72c4e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-core/src/sqlite/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}
Expand Down

0 comments on commit 72c4e04

Please sign in to comment.