Skip to content

Commit d350104

Browse files
committed
style fix
1 parent c8074e0 commit d350104

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/routes/subscriptions.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ pub async fn subscribe(
7777
email_client: web::Data<EmailClient>,
7878
base_url: web::Data<ApplicationBaseUrl>,
7979
) -> Result<HttpResponse, SubscriptionError> {
80-
let new_subscriber = form.0.try_into().map_err(SubscriptionError::ValidationError)?;
80+
let new_subscriber = form
81+
.0
82+
.try_into()
83+
.map_err(SubscriptionError::ValidationError)?;
8184
let mut transaction = pool
8285
.begin()
8386
.await

0 commit comments

Comments
 (0)