Satisfy clippy
This commit is contained in:
parent
996b161c1e
commit
9e2c76c3bc
@ -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>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user