fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
7.3 KiB139 linesraw
1<!DOCTYPE html> {# #}
2<html lang="en"> {# #}
3<head> {# #}
4    <meta charset="utf-8"> {# #}
5    <meta name="viewport" content="width=device-width, initial-scale=1.0"> {# #}
6    <meta name="generator" content="rustdoc"> {# #}
7    <meta name="description" content="{{page.description}}"> {# #}
8    <title>{{page.title}}</title> {# #}
9    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.source_serif_4_regular}}"> {# #}
10    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.fira_sans_regular}}"> {# #}
11    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.fira_sans_medium}}"> {# #}
12    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.source_code_pro_regular}}"> {# #}
13    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.source_serif_4_bold}}"> {# #}
14    <link rel="preload" as="font" type="font/woff2" crossorigin href="{{static_root_path|safe}}{{files.source_code_pro_semibold}}"> {# #}
15    <link rel="stylesheet" {#+ #}
16          href="{{static_root_path|safe}}{{files.normalize_css}}"> {# #}
17    <link rel="stylesheet" {#+ #}
18          href="{{static_root_path|safe}}{{files.rustdoc_css}}"> {# #}
19    {% if !layout.default_settings.is_empty() %}
20    <script id="default-settings" {#+ #}
21      {%~ for (k, v) in layout.default_settings ~%}
22        data-{{k}}="{{v}}"
23      {% endfor %}
24    ></script> {# #}
25    {% endif %}
26    <meta name="rustdoc-vars" {#+ #}
27         data-root-path="{{page.root_path|safe}}" {#+ #}
28         data-static-root-path="{{static_root_path|safe}}" {#+ #}
29         data-current-crate="{{layout.krate}}" {#+ #}
30         data-themes="{{themes|join(",") }}" {#+ #}
31         data-resource-suffix="{{page.resource_suffix}}" {#+ #}
32         data-rustdoc-version="{{rustdoc_version}}" {#+ #}
33         data-channel="{{rust_channel}}" {#+ #}
34         data-search-js="{{files.search_js}}" {#+ #}
35         data-settings-js="{{files.settings_js}}" {#+ #}
36    > {# #}
37    <script src="{{static_root_path|safe}}{{files.storage_js}}"></script> {# #}
38    {% if page.css_class.contains("crate") %}
39    <script defer src="{{page.root_path|safe}}crates{{page.resource_suffix}}.js"></script> {# #}
40    {% else if page.css_class == "src" %}
41    <script defer src="{{static_root_path|safe}}{{files.src_script_js}}"></script> {# #}
42    <script defer src="{{page.root_path|safe}}src-files{{page.resource_suffix}}.js"></script> {# #}
43    {% else if !page.css_class.contains("mod") %}
44    <script defer src="sidebar-items{{page.resource_suffix}}.js"></script> {# #}
45    {% endif %}
46    <script defer src="{{static_root_path|safe}}{{files.main_js}}"></script> {# #}
47    {% if layout.scrape_examples_extension %}
48    <script defer src="{{static_root_path|safe}}{{files.scrape_examples_js}}"></script> {# #}
49    {% endif %}
50    <noscript> {# #}
51        <link rel="stylesheet" {#+ #}
52           href="{{static_root_path|safe}}{{files.noscript_css}}"> {# #}
53    </noscript> {# #}
54    {% if layout.css_file_extension.is_some() %}
55        <link rel="stylesheet" {#+ #}
56            href="{{page.root_path|safe}}theme{{page.resource_suffix}}.css"> {# #}
57    {% endif %}
58    {% if !layout.favicon.is_empty() %}
59        <link rel="icon" href="{{layout.favicon}}"> {# #}
60    {% else %}
61        <link rel="alternate icon" type="image/png" {#+ #}
62            href="{{static_root_path|safe}}{{files.rust_favicon_png_16}}"> {# #}
63        <link rel="alternate icon" type="image/png" {#+ #}
64            href="{{static_root_path|safe}}{{files.rust_favicon_png_32}}"> {# #}
65        <link rel="icon" type="image/svg+xml" {#+ #}
66            href="{{static_root_path|safe}}{{files.rust_favicon_svg}}"> {# #}
67    {% endif %}
68    {{ layout.external_html.in_header|safe }}
69</head> {# #}
70<body class="rustdoc {{+page.css_class}}"> {# #}
71    <!--[if lte IE 11]> {# #}
72    <div class="warning"> {# #}
73        This old browser is unsupported and will most likely display funky things. {# #}
74    </div> {# #}
75    <![endif]--> {# #}
76    {{ layout.external_html.before_content|safe }}
77    {% if page.css_class != "src" %}
78    <nav class="mobile-topbar"> {# #}
79        <button class="sidebar-menu-toggle">&#9776;</button> {# #}
80        <a class="logo-container" href="{{page.root_path|safe}}{{krate_with_trailing_slash|safe}}index.html"> {# #}
81        {% if !layout.logo.is_empty() %}
82            <img src="{{layout.logo}}" alt="logo"> {# #}
83        {% else %}
84            <img class="rust-logo" src="{{static_root_path|safe}}{{files.rust_logo_svg}}" alt="logo"> {# #}
85        {% endif %}
86        </a> {# #}
87    </nav>
88    {% endif %}
89    <nav class="sidebar"> {# #}
90        {% if page.css_class != "src" %}
91        <a class="logo-container" href="{{page.root_path|safe}}{{krate_with_trailing_slash|safe}}index.html"> {# #}
92            {% if !layout.logo.is_empty() %}
93                <img src="{{layout.logo}}" alt="logo"> {# #}
94            {% else %}
95                <img class="rust-logo" src="{{static_root_path|safe}}{{files.rust_logo_svg}}" alt="logo"> {# #}
96            {% endif %}
97        </a> {# #}
98        {% endif %}
99        {{ sidebar|safe }}
100    </nav> {# #}
101    <main> {# #}
102        {% if page.css_class != "src" %}<div class="width-limiter">{% endif %}
103            <nav class="sub"> {# #}
104                {% if page.css_class == "src" %}
105                <a class="sub-logo-container" href="{{page.root_path|safe}}{{krate_with_trailing_slash|safe}}index.html"> {# #}
106                    {% if !layout.logo.is_empty() %}
107                        <img src="{{layout.logo}}" alt="logo"> {# #}
108                    {% else %}
109                        <img class="rust-logo" src="{{static_root_path|safe}}{{files.rust_logo_svg}}" alt="logo"> {# #}
110                    {% endif %}
111                </a> {# #}
112                {% endif %}
113                <form class="search-form"> {# #}
114                    <span></span> {# This empty span is a hacky fix for Safari - See #93184 #}
115                    <input {#+ #}
116                        class="search-input" {#+ #}
117                        name="search" {#+ #}
118                        aria-label="Run search in the documentation" {#+ #}
119                        autocomplete="off" {#+ #}
120                        spellcheck="false" {#+ #}
121                        placeholder="Click or press ‘S’ to search, ‘?’ for more options…" {#+ #}
122                        type="search"> {# #}
123                    <div id="help-button" title="help" tabindex="-1"> {# #}
124                        <a href="{{page.root_path|safe}}help.html">?</a> {# #}
125                    </div> {# #}
126                    <div id="settings-menu" tabindex="-1"> {# #}
127                        <a href="{{page.root_path|safe}}settings.html" title="settings"> {# #}
128                            <img width="22" height="22" alt="Change settings" {#+ #}
129                            src="{{static_root_path|safe}}{{files.wheel_svg}}"> {# #}
130                        </a> {# #}
131                    </div> {# #}
132                </form> {# #}
133            </nav> {# #}
134            <section id="main-content" class="content">{{ content|safe }}</section> {# #}
135        {% if page.css_class != "src" %}</div>{% endif %}
136    </main> {# #}
137    {{ layout.external_html.after_content|safe }}
138</body> {# #}
139</html> {# #}