Replace as_ref().map() with as_deref()

This commit is contained in:
Kitaiti Makoto
2021-01-15 23:21:33 +09:00
parent 0775c8f3f9
commit dfe83aafc5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
}
</main>
@for res in &comment_tree.responses {
@:comment_html(ctx, res, comm.ap_url.as_ref().map(|u| &**u), blog, slug)
@:comment_html(ctx, res, comm.ap_url.as_deref(), blog, slug)
}
</div>
}}