fork/rust

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

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

master
1.9 KiB66 linesraw
1<!DOCTYPE html>
2<html lang="en">
3<head>
4<meta charset="utf-8">
5<title>spanview_terminator.main.built.after</title>
6<style>
7    .line {
8        counter-increment: line;
9    }
10    .line:before {
11        content: counter(line) ": ";
12        font-family: Menlo, Monaco, monospace;
13        font-style: italic;
14        width: 3.8em;
15        display: inline-block;
16        text-align: right;
17        filter: opacity(50%);
18        -webkit-user-select: none;
19    }
20    .code {
21        color: #dddddd;
22        background-color: #222222;
23        font-family: Menlo, Monaco, monospace;
24        line-height: 1.4em;
25        border-bottom: 2px solid #222222;
26        white-space: pre;
27        display: inline-block;
28    }
29    .odd {
30        background-color: #55bbff;
31        color: #223311;
32    }
33    .even {
34        background-color: #ee7756;
35        color: #551133;
36    }
37    .code {
38        --index: calc(var(--layer) - 1);
39        padding-top: calc(var(--index) * 0.15em);
40        filter:
41            hue-rotate(calc(var(--index) * 25deg))
42            saturate(calc(100% - (var(--index) * 2%)))
43            brightness(calc(100% - (var(--index) * 1.5%)));
44    }
45    .annotation {
46        color: #4444ff;
47        font-family: monospace;
48        font-style: italic;
49        display: none;
50        -webkit-user-select: none;
51    }
52    body:active .annotation {
53        /* requires holding mouse down anywhere on the page */
54        display: inline-block;
55    }
56    span:hover .annotation {
57        /* requires hover over a span ONLY on its first line */
58        display: inline-block;
59    }
60</style>
61</head>
62<body>
63<div class="code" style="counter-reset: line 4"><span class="line"><span class="code" style="--layer: 0">fn main() {}</span><span><span class="code even" style="--layer: 1" title="0:Return: $DIR/spanview_terminator.rs:5:13: 5:13:
64    5:13-5:13: Return: return"><span class="annotation">0:Return⦊</span>‸<span class="annotation">⦉0:Return</span></span></span></span></div>
65</body>
66</html>