diff options
author | pennae <github@quasiparticle.net> | 2022-07-16 20:06:39 +0200 |
---|---|---|
committer | pennae <github@quasiparticle.net> | 2022-07-17 17:23:15 +0200 |
commit | 33d42e39f94c89c12f3f9908cfe808fc70572b17 (patch) | |
tree | 6f5002bf5f16142d0c935313ab754097d6557f10 /src/api | |
parent | c732402c21a6b2459588ff0c9633854a4b6b47f7 (diff) | |
download | minor-skulk-33d42e39f94c89c12f3f9908cfe808fc70572b17.tar.gz minor-skulk-33d42e39f94c89c12f3f9908cfe808fc70572b17.tar.xz minor-skulk-33d42e39f94c89c12f3f9908cfe808fc70572b17.zip |
apply rustfmt
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/auth/oauth.rs | 2 | ||||
-rw-r--r-- | src/api/profile/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/api/auth/oauth.rs b/src/api/auth/oauth.rs index 39fe6ae..cb53b7c 100644 --- a/src/api/auth/oauth.rs +++ b/src/api/auth/oauth.rs @@ -7,8 +7,8 @@ use serde_json::Value; use sha2::Digest; use subtle::ConstantTimeEq; -use crate::api::{EMPTY, Empty}; use crate::api::auth::WithVerifiedFxaLogin; +use crate::api::{Empty, EMPTY}; use crate::db::DbConn; use crate::types::oauth::{Scope, ScopeSet}; use crate::{ diff --git a/src/api/profile/mod.rs b/src/api/profile/mod.rs index da9c87f..9abb872 100644 --- a/src/api/profile/mod.rs +++ b/src/api/profile/mod.rs @@ -15,7 +15,7 @@ use Either::{Left, Right}; use crate::{ api::Empty, - auth::{Authenticated, WithBearer, AuthenticatedRequest}, + auth::{Authenticated, AuthenticatedRequest, WithBearer}, cache::Immutable, db::Db, types::{oauth::Scope, UserID}, |