mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
Use ToCStr trait
This commit is contained in:
parent
5902b9106c
commit
a52fedad36
@ -58,7 +58,7 @@ use std::ptr;
|
|||||||
use std::fmt;
|
use std::fmt;
|
||||||
use std::rc::{Rc};
|
use std::rc::{Rc};
|
||||||
use std::cell::{RefCell, Cell};
|
use std::cell::{RefCell, Cell};
|
||||||
use std::c_str::{CString};
|
use std::c_str::{CString, ToCStr};
|
||||||
use libc::{c_int, c_void, c_char};
|
use libc::{c_int, c_void, c_char};
|
||||||
|
|
||||||
use types::{ToSql, FromSql};
|
use types::{ToSql, FromSql};
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
extern crate time;
|
extern crate time;
|
||||||
|
|
||||||
use libc::{c_int, c_double};
|
use libc::{c_int, c_double};
|
||||||
use std::c_str::{CString};
|
use std::c_str::{CString, ToCStr};
|
||||||
use std::mem;
|
use std::mem;
|
||||||
use super::ffi;
|
use super::ffi;
|
||||||
use super::{SqliteResult, SqliteError};
|
use super::{SqliteResult, SqliteError};
|
||||||
|
Loading…
Reference in New Issue
Block a user