Follow clippy

This commit is contained in:
Kitaiti Makoto 2022-02-08 16:47:48 +09:00
parent ec3d78b509
commit a5003526c8
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
<span class="mobile-label">@i18n!(ctx.1, "Log Out")</span> <span class="mobile-label">@i18n!(ctx.1, "Log Out")</span>
</a> </a>
<a href="@uri!(user::me)" title="@i18n!(ctx.1, "My account")"> <a href="@uri!(user::me)" title="@i18n!(ctx.1, "My account")">
@avatar(ctx.0, &ctx.2.clone().unwrap(), Size::Small, false, &ctx.1) @avatar(ctx.0, &ctx.2.clone().unwrap(), Size::Small, false, ctx.1)
<span class="mobile-label">@i18n!(ctx.1, "My account")</span> <span class="mobile-label">@i18n!(ctx.1, "My account")</span>
</a> </a>
} else { } else {

View File

@ -7,7 +7,7 @@
<div class="h-card"> <div class="h-card">
<div class="user"> <div class="user">
<div class="flex wrap"> <div class="flex wrap">
@avatar(ctx.0, &user, Size::Medium, false, ctx.1) @avatar(ctx.0, user, Size::Medium, false, ctx.1)
<h1 class="grow flex vertical"> <h1 class="grow flex vertical">
<span class="p-name">@user.name()</span> <span class="p-name">@user.name()</span>