summaryrefslogtreecommitdiffstats
path: root/front_end/templates/serp.rs.html
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2019-07-28 13:10:38 +0100
committerKornel <kornel@geekhood.net>2019-07-28 13:10:38 +0100
commit2cddd45af42fc295526bf60561fc43ed960ea4d8 (patch)
tree341141d93e11ec2efb5287513ce8356f7bd24ad3 /front_end/templates/serp.rs.html
parent265de308e8e70e911808e291534bf987e49eed48 (diff)
Context-aware crate page URL
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 3cc69b2..4343d20 100644
--- a/front_end/templates/serp.rs.html
+++ b/front_end/templates/serp.rs.html
@@ -56,7 +56,7 @@
<ol>
@for (i, c) in p.good_results.iter().chain(p.bad_results).enumerate() {
<li>
- <a href="@url.krate_by_name(&c.crate_name)"><div class=h>
+ <a href="@url.crate_by_name(&c.crate_name)"><div class=h>
<h4>@c.crate_name</h4>
<p class=desc>@p.render_markdown_str(&c.description)</p>
</div>