Skip to content

Commit a8646db

Browse files
committed
fix: address some compiler warnings in legacy::post
The imports were a bit wack and some feature combinations resulted in warnings about unused imports. Signed-off-by: stadust <43299462+stadust@users.noreply.github.com>
1 parent 651b6df commit a8646db

File tree

1 file changed

+1
-4
lines changed
  • pointercrate-user/src/auth/legacy

1 file changed

+1
-4
lines changed

pointercrate-user/src/auth/legacy/post.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
#[cfg(feature = "legacy_accounts")]
22
pub use register::Registration;
33

4-
use crate::Result;
5-
64
#[cfg(feature = "legacy_accounts")]
75
mod register {
8-
use super::*;
96
use crate::{
107
auth::{AuthenticatedUser, AuthenticationType, PasswordOrBrowser},
118
error::UserError,
12-
User,
9+
User, Result
1310
};
1411
use serde::{Deserialize, Serialize};
1512
use sqlx::PgConnection;

0 commit comments

Comments
 (0)