cargo fmt

This commit is contained in:
Trinity Pointard 2020-10-07 23:40:27 +02:00
parent f40634aa97
commit 4da9b24cb1

View File

@ -365,7 +365,8 @@ impl User {
let user = match User::find_by_email(conn, ident) {
Ok(user) => Ok(user),
_ => User::find_by_name(conn, ident, local_id),
}.and_then(|u| {
}
.and_then(|u| {
if u.instance_id == local_id {
Ok(u)
} else {