mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-22 16:29:20 +08:00
Cleanup use statements.
This commit is contained in:
parent
db7345624f
commit
ddd976c158
@ -1,11 +1,11 @@
|
||||
//use std::collections::HashMap;
|
||||
use std::ffi::{CString};
|
||||
use libc::{c_int};
|
||||
use std::ffi::CString;
|
||||
use libc::c_int;
|
||||
|
||||
use super::ffi;
|
||||
|
||||
use {SqliteResult, SqliteError, SqliteConnection, SqliteStatement, SqliteRows, SqliteRow};
|
||||
use types::{ToSql};
|
||||
use types::ToSql;
|
||||
|
||||
impl SqliteConnection {
|
||||
/// Convenience method to prepare and execute a single SQL statement with named parameter(s).
|
||||
@ -130,4 +130,4 @@ mod test {
|
||||
let mut stmt = db.prepare("SELECT * FROM test where name = :name").unwrap();
|
||||
stmt.query_named(&[(":name", &"one")]).unwrap();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user