[sdks/android] Pre: Fix unused warnings.
This commit is contained in:
parent
89d8ac50a8
commit
9e6505a930
1 changed files with 10 additions and 3 deletions
13
src/store.rs
13
src/store.rs
|
@ -41,8 +41,6 @@ use mentat_db::{
|
|||
#[cfg(feature = "syncable")]
|
||||
use mentat_tolstoy::Syncer;
|
||||
|
||||
use uuid::Uuid;
|
||||
|
||||
use conn::{
|
||||
CacheAction,
|
||||
CacheDirection,
|
||||
|
@ -51,7 +49,11 @@ use conn::{
|
|||
InProgressRead,
|
||||
Pullable,
|
||||
Queryable,
|
||||
Syncable
|
||||
};
|
||||
|
||||
#[cfg(feature = "syncable")]
|
||||
use conn::{
|
||||
Syncable,
|
||||
};
|
||||
|
||||
use errors::*;
|
||||
|
@ -238,6 +240,9 @@ impl Pullable for Store {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(feature = "syncable")]
|
||||
use uuid::Uuid;
|
||||
|
||||
#[cfg(feature = "syncable")]
|
||||
impl Syncable for Store {
|
||||
fn sync(&mut self, server_uri: &String, user_uuid: &String) -> Result<()> {
|
||||
|
@ -266,6 +271,8 @@ mod tests {
|
|||
Duration,
|
||||
};
|
||||
|
||||
use uuid::Uuid;
|
||||
|
||||
use mentat_db::cache::{
|
||||
SQLiteAttributeCache,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue