summaryrefslogtreecommitdiffstats
path: root/front_end/templates/serp.rs.html
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2019-08-14 21:14:45 +0100
committerKornel <kornel@geekhood.net>2019-08-14 22:31:05 +0100
commit6e12c707782cdf79bc1af07c7c57d1fe79a39220 (patch)
tree4f7971dd80148d3fad1e390f3c094092837cdc61 /front_end/templates/serp.rs.html
parentaa25435d54f2b10ddf5a8e6c537caa27d62f6c36 (diff)
GitLab pages
Diffstat (limited to 'front_end/templates/serp.rs.html')
-rw-r--r--front_end/templates/serp.rs.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/front_end/templates/serp.rs.html b/front_end/templates/serp.rs.html
index f91be15..243cdfe 100644
--- a/front_end/templates/serp.rs.html
+++ b/front_end/templates/serp.rs.html
@@ -73,7 +73,7 @@
@for (i, c) in p.good_results.iter().chain(p.bad_results).enumerate() {
<li>
<a href="@url.crate_by_origin(&c.origin)"><div class=h>
- <h4>@if let Origin::GitHub{ref repo,..} = c.origin {@repo.owner/}@c.crate_name</h4>
+ <h4>@if let Some((repo, _)) = c.origin.repo() {@repo.owner/}@c.crate_name</h4>
<p class=desc>@p.render_markdown_str(&c.description)</p>
</div>
<div class=meta>