Clippy lints, dashmap for breakers

This commit is contained in:
Aode (lion)
2021-11-23 16:19:59 -06:00
parent e1c61d5b5f
commit 1dba31e3a0
18 changed files with 74 additions and 101 deletions
+3 -5
View File
@@ -11,10 +11,8 @@
</div>
<div class="right">
<p class="display-name"><a href="@contact.url">@contact.display_name</a></p>
@if let Some(domain) = base.domain() {
<p class="username">@@@contact.username@@@domain</p>
} else {
<p class="username">@@@contact.username</p>
}
<p class="username">
@@@contact.username@if let Some(domain) = base.domain() {@@@domain}
</p>
</div>
</div>
+1 -1
View File
@@ -36,7 +36,7 @@
} else {
@if let Some(inf) = node.info.as_ref() {
<li>
@:info(&inf, &node.base)
@:info(inf, &node.base)
</li>
}
}