mirror of
				https://github.com/isar/rusqlite.git
				synced 2025-10-31 05:48:56 +08:00 
			
		
		
		
	Fix clippy warnings
This commit is contained in:
		| @@ -105,8 +105,6 @@ impl fmt::Display for Type { | ||||
|  | ||||
| #[cfg(test)] | ||||
| mod test { | ||||
|     use time; | ||||
|  | ||||
|     use super::Value; | ||||
|     use crate::{Connection, Error, NO_PARAMS}; | ||||
|     use std::f64::EPSILON; | ||||
|   | ||||
| @@ -28,7 +28,6 @@ impl FromSql for Value { | ||||
| mod test { | ||||
|     use crate::types::ToSql; | ||||
|     use crate::{Connection, NO_PARAMS}; | ||||
|     use serde_json; | ||||
|  | ||||
|     fn checked_memory_handle() -> Connection { | ||||
|         let db = Connection::open_in_memory().unwrap(); | ||||
|   | ||||
| @@ -1,5 +1,3 @@ | ||||
| use time; | ||||
|  | ||||
| use crate::types::{FromSql, FromSqlError, FromSqlResult, ToSql, ToSqlOutput, ValueRef}; | ||||
| use crate::Result; | ||||
|  | ||||
| @@ -37,7 +35,6 @@ impl FromSql for time::Timespec { | ||||
| #[cfg(test)] | ||||
| mod test { | ||||
|     use crate::{Connection, Result, NO_PARAMS}; | ||||
|     use time; | ||||
|  | ||||
|     fn checked_memory_handle() -> Connection { | ||||
|         let db = Connection::open_in_memory().unwrap(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user