1
0
mirror of https://github.com/actix/examples synced 2025-06-28 09:50:36 +02:00

Run rustfmt

This commit is contained in:
Yuki Okushi
2020-04-03 16:16:17 +09:00
parent 8f1c0a85cf
commit 046604f286
5 changed files with 42 additions and 49 deletions

View File

@ -98,8 +98,7 @@ mod handlers {
) -> Result<HttpResponse, Error> {
let user_info: User = user.into_inner();
let client: Client =
db_pool.get().await.map_err(MyError::PoolError)?;
let client: Client = db_pool.get().await.map_err(MyError::PoolError)?;
let new_user = db::add_user(&client, user_info).await?;