From a5003526c82e16b8473abaccd9941e61b53f576b Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Tue, 8 Feb 2022 16:47:48 +0900 Subject: [PATCH] Follow clippy --- templates/base.rs.html | 2 +- templates/users/header.rs.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/base.rs.html b/templates/base.rs.html index 115ea4e7..564c1f84 100644 --- a/templates/base.rs.html +++ b/templates/base.rs.html @@ -51,7 +51,7 @@ @i18n!(ctx.1, "Log Out") - @avatar(ctx.0, &ctx.2.clone().unwrap(), Size::Small, false, &ctx.1) + @avatar(ctx.0, &ctx.2.clone().unwrap(), Size::Small, false, ctx.1) @i18n!(ctx.1, "My account") } else { diff --git a/templates/users/header.rs.html b/templates/users/header.rs.html index e7f5080e..7e4813b1 100644 --- a/templates/users/header.rs.html +++ b/templates/users/header.rs.html @@ -7,7 +7,7 @@
- @avatar(ctx.0, &user, Size::Medium, false, ctx.1) + @avatar(ctx.0, user, Size::Medium, false, ctx.1)

@user.name()