diff options
Diffstat (limited to 'filamento/src/db.rs')
-rw-r--r-- | filamento/src/db.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filamento/src/db.rs b/filamento/src/db.rs index f34fea6..1054ec2 100644 --- a/filamento/src/db.rs +++ b/filamento/src/db.rs @@ -1,12 +1,12 @@ use std::{collections::HashSet, path::Path}; use jid::JID; -use sqlx::{Error, SqlitePool, migrate}; +use sqlx::{SqlitePool, migrate}; use uuid::Uuid; use crate::{ chat::{Chat, Message}, - error::{DatabaseError, DatabaseOpenError}, + error::{DatabaseError as Error, DatabaseOpenError}, presence::Online, roster::Contact, user::User, |