about summary refs log tree commit diff
path: root/src/librustdoc/html/templates/source.html
blob: 454d4c27f1ad624302dfa7a25158b6e24836fc1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% match file_path %}
{% when Some with ((path, name)) %}
<div class="main-heading"> {# #}
    <h1> {# #}
        <div class="sub-heading">{{path}}/</div>
        {{name}}
    </h1> {# #}
    <rustdoc-toolbar></rustdoc-toolbar> {# #}
</div>
{% else %}
{% endmatch %}
<div class="example-wrap digits-{{max_nb_digits}}"> {# #}
    <pre class="rust"> {# #}
        <code>
            {{code_html|safe}}
        </code> {# #}
    </pre> {# #}
</div> {# #}