Cleanup use statements.

This commit is contained in:
Gwenael Treguier 2015-11-11 14:39:54 +01:00
parent db7345624f
commit ddd976c158

View File

@ -1,11 +1,11 @@
//use std::collections::HashMap; //use std::collections::HashMap;
use std::ffi::{CString}; use std::ffi::CString;
use libc::{c_int}; use libc::c_int;
use super::ffi; use super::ffi;
use {SqliteResult, SqliteError, SqliteConnection, SqliteStatement, SqliteRows, SqliteRow}; use {SqliteResult, SqliteError, SqliteConnection, SqliteStatement, SqliteRows, SqliteRow};
use types::{ToSql}; use types::ToSql;
impl SqliteConnection { impl SqliteConnection {
/// Convenience method to prepare and execute a single SQL statement with named parameter(s). /// 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(); let mut stmt = db.prepare("SELECT * FROM test where name = :name").unwrap();
stmt.query_named(&[(":name", &"one")]).unwrap(); stmt.query_named(&[(":name", &"one")]).unwrap();
} }
} }