From 364e885b8904d115737fe71e8bdfd1576afe8326 Mon Sep 17 00:00:00 2001 From: gwenn Date: Thu, 14 Feb 2019 20:53:00 +0100 Subject: [PATCH] Fix warning --- src/pragma.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pragma.rs b/src/pragma.rs index 134582d..d7f2144 100644 --- a/src/pragma.rs +++ b/src/pragma.rs @@ -327,7 +327,7 @@ fn is_identifier_continue(c: char) -> bool { mod test { use super::Sql; use crate::pragma; - use crate::{Connection, DatabaseName, NO_PARAMS}; + use crate::{Connection, DatabaseName}; #[test] fn pragma_query_value() { @@ -341,6 +341,8 @@ mod test { #[test] #[cfg(feature = "bundled")] fn pragma_func_query_value() { + use crate::NO_PARAMS; + let db = Connection::open_in_memory().unwrap(); let user_version: i32 = db .query_row(