mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
SqliteConnection::as_raw_handle should be unsafe as it returns a raw pointer
This commit is contained in:
parent
672f724aac
commit
6837fcb5b2
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ pub struct SqliteConnection {
|
|||
|
||||
impl SqliteConnection {
|
||||
/// Returns the underlying sqlite3* connection handle
|
||||
pub fn as_raw_handle(&mut self) -> *mut sqlite3 {
|
||||
pub unsafe fn as_raw_handle(&mut self) -> *mut sqlite3 {
|
||||
self.handle.as_ptr()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue