fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1{% if !title.is_empty() %} 2 <h2 class="location"> {# #} 3 <a href="#">{{title_prefix}}{{title}}</a> {# #} 4 </h2> 5{% endif %} 6<div class="sidebar-elems"> 7 {% if is_crate %} 8 <ul class="block"> 9 {% if !version.is_empty() %} 10 <li class="version">Version {{+ version}}</li> 11 {% endif %} 12 <li><a id="all-types" href="all.html">All Items</a></li> {# #} 13 </ul> 14 {% endif %} 15 16 {% if self.should_render_blocks() %} 17 <section> 18 {% for block in blocks %} 19 {% if block.should_render() %} 20 {% if !block.heading.name.is_empty() %} 21 <h3><a href="#{{block.heading.href|safe}}">{{block.heading.name}}</a></h3> 22 {% endif %} 23 {% if !block.links.is_empty() %} 24 <ul class="block"> 25 {% for link in block.links %} 26 <li><a href="#{{link.href|safe}}">{{link.name}}</a></li> 27 {% endfor %} 28 </ul> 29 {% endif %} 30 {% endif %} 31 {% endfor %} 32 </section> 33 {% endif %} 34 {% if !path.is_empty() %} 35 <h2><a href="index.html">In {{+ path}}</a></h2> 36 {% endif %} 37</div>