From 503087204d26e8562cdcb471219743cce4a11320 Mon Sep 17 00:00:00 2001 From: mcbloch Date: Fri, 21 Aug 2020 18:41:23 +0200 Subject: [PATCH] Run rustfmt --- src/models/user.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/models/user.rs b/src/models/user.rs index a0a2e030..d880cd1b 100644 --- a/src/models/user.rs +++ b/src/models/user.rs @@ -44,7 +44,7 @@ pub struct User { pub last_name: String, pub email: String, pub ssh_key: Option, - pub last_login: NaiveDateTime, + pub last_login: NaiveDateTime, pub created_at: NaiveDateTime, } @@ -67,7 +67,7 @@ struct NewUserHashed { last_name: String, email: String, ssh_key: Option, - last_login: NaiveDateTime, + last_login: NaiveDateTime, } #[derive(FromForm, Deserialize, Debug, Clone)] @@ -109,7 +109,7 @@ impl User { last_name: user.last_name, email: user.email, ssh_key: user.ssh_key, - last_login: Utc::now().naive_utc(), + last_login: Utc::now().naive_utc(), }; conn.transaction(|| { // Create a new user