From fcb3a9182fc0cd7e48b6a5d8ebecfb53960c37e2 Mon Sep 17 00:00:00 2001 From: Greg Burd Date: Thu, 23 Jan 2020 11:14:27 -0500 Subject: [PATCH] Fix module issue found when testing all-features. --- src/store.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/store.rs b/src/store.rs index 27476308..e5f81caf 100644 --- a/src/store.rs +++ b/src/store.rs @@ -27,7 +27,7 @@ use mentat_transaction::{ CacheAction, CacheDirection, InProgress, InProgressRead, Pullable, Queryable, }; -use super::conn::Conn; +use crate::conn::Conn; use public_traits::errors::Result; @@ -37,7 +37,7 @@ use mentat_transaction::query::{PreparedResult, QueryExplanation, QueryInputs, Q use mentat_tolstoy::{SyncFollowup, SyncReport, SyncResult}; #[cfg(feature = "syncable")] -use super::sync::Syncable; +use crate::sync::Syncable; /// A convenience wrapper around a single SQLite connection and a Conn. This is suitable /// for applications that don't require complex connection management. @@ -97,7 +97,7 @@ impl Store { /// supplied. Fails unless linked against sqlcipher (or something else that /// supports the Sqlite Encryption Extension). pub fn open_with_key(path: &str, encryption_key: &str) -> Result { - let mut connection = ::new_connection_with_key(path, encryption_key)?; + let mut connection = crate::new_connection_with_key(path, encryption_key)?; let conn = Conn::connect(&mut connection)?; Ok(Store { conn: conn, @@ -109,7 +109,7 @@ impl Store { /// rekey`). Fails unless linked against sqlcipher (or something else that supports the Sqlite /// Encryption Extension). pub fn change_encryption_key(&mut self, new_encryption_key: &str) -> Result<()> { - ::change_encryption_key(&self.sqlite, new_encryption_key)?; + crate::change_encryption_key(&self.sqlite, new_encryption_key)?; Ok(()) } }