Satisfy clippy

This commit is contained in:
Kitaiti Makoto 2022-01-27 11:54:41 +09:00
parent 996b161c1e
commit 9e2c76c3bc

View file

@ -17,7 +17,7 @@
@if !media.alt_text.is_empty() {
@media.alt_text
} else {
@media.content_warning.unwrap_or(i18n!(ctx.1, "No description"))
@media.content_warning.unwrap_or_else(|| i18n!(ctx.1, "No description")))
}
</option>
}