rust/hedgewars-server/src/server/database.rs
changeset 15074 c5a6e8566425
parent 14785 a1077e8d26f4
child 15075 e935b1ad23f3
--- a/rust/hedgewars-server/src/server/database.rs	Tue May 28 17:49:04 2019 +0200
+++ b/rust/hedgewars-server/src/server/database.rs	Tue May 28 19:04:18 2019 +0300
@@ -2,8 +2,9 @@
 use mysql::{error::DriverError, error::Error, from_row_opt, params};
 use openssl::sha::sha1;
 
-use super::handlers::AccountInfo;
-use crate::server::handlers::Sha1Digest;
+use crate::{
+    handlers::{Sha1Digest, AccountInfo}
+};
 
 const GET_ACCOUNT_QUERY: &str =
     r"SELECT CASE WHEN users.status = 1 THEN users.pass ELSE '' END,