Skip to content

Commit 0dc0ddd

Browse files
sunjaymark-i-m
authored andcommitted
Closing all <a> tags
1 parent eeddfda commit 0dc0ddd

14 files changed

+33
-31
lines changed

src/appendix-background.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This section covers a numbers of common compiler terms that arise in
44
this guide. We try to give the general definition while providing some
55
Rust-specific context.
66

7-
<a name=cfg>
7+
<a name="cfg"></a>
88

99
## What is a control-flow graph?
1010

@@ -72,7 +72,7 @@ When using a control-flow graph, a loop simply appears as a cycle in
7272
the graph, and the `break` keyword translates into a path out of that
7373
cycle.
7474

75-
<a name=dataflow>
75+
<a name="dataflow"></a>
7676

7777
## What is a dataflow analysis?
7878

@@ -81,13 +81,13 @@ and Michael I. Schwartzbach is an incredible resource!
8181

8282
*to be written*
8383

84-
<a name=quantified>
84+
<a name="quantified"></a>
8585

8686
## What is "universally quantified"? What about "existentially quantified"?
8787

8888
*to be written*
8989

90-
<a name=variance>
90+
<a name="variance"></a>
9191

9292
## What is co- and contra-variance?
9393

@@ -97,7 +97,7 @@ Check out the subtyping chapter from the
9797
See the [variance](./variance.html) chapter of this guide for more info on how
9898
the type checker handles variance.
9999

100-
<a name=free-vs-bound>
100+
<a name="free-vs-bound"></a>
101101

102102
## What is a "free region" or a "free variable"? What about "bound region"?
103103

src/conventions.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ chapter covers [formatting](#formatting), [coding for correctness](#cc),
33
[using crates from crates.io](#cio), and some tips on
44
[structuring your PR for easy review](#er).
55

6-
<a name=formatting>
6+
<a name="formatting"></a>
77

88
# Formatting and the tidy script
99

@@ -16,7 +16,7 @@ in isolation with `./x.py test src/tools/tidy`.
1616

1717
[fmt]: https://github.com/rust-lang-nursery/fmt-rfcs
1818

19-
<a name=copyright>
19+
<a name="copyright"></a>
2020

2121
### Copyright notice
2222

@@ -57,7 +57,7 @@ the copyright notice) like so:
5757

5858
Prefer 4-space indent.
5959

60-
<a name=cc>
60+
<a name="cc"></a>
6161

6262
# Coding for correctness
6363

@@ -99,7 +99,7 @@ if foo {
9999
}
100100
```
101101

102-
<a name=cio>
102+
<a name="cio"></a>
103103

104104
# Using crates from crates.io
105105

@@ -108,7 +108,7 @@ dependencies should not be added gratuitously. All such crates must
108108
have a suitably permissive license. There is an automatic check which
109109
inspects the Cargo metadata to ensure this.
110110

111-
<a name=er>
111+
<a name="er"></a>
112112

113113
# How to structure your PR
114114

src/incremental-compilation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Try-mark-green works as follows:
7676
- Otherwise, **all** of the nodes in `reads(Q)` must be **green**. In that
7777
case, we can color Q as **green** and return.
7878

79-
<a name="dag">
79+
<a name="dag"></a>
8080

8181
### The query DAG
8282

src/mir-regionck.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ the role of `liveness_constraints` vs other `constraints`, plus
5151

5252
*to be written*
5353

54-
<a name=mirtypeck>
54+
<a name="mirtypeck"></a>
5555

5656
## The MIR type-check
5757

@@ -88,7 +88,7 @@ The kinds of region elements are as follows:
8888
*to be written* -- describe how we can extend the values of a variable
8989
with causal tracking etc
9090

91-
<a name=skol>
91+
<a name="skol"></a>
9292

9393
## Skolemization and universes
9494

src/mir.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ but [you can read about those below](#promoted)).
234234

235235
*to be written*
236236

237-
<a name=promoted>
237+
<a name="promoted"></a>
238238

239239
### Promoted constants
240240

src/tests/adding.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ then it might make sense to put the tests in directories like:
6868
In other cases, there may already be a suitable directory. (The proper
6969
directory structure to use is actually an area of active debate.)
7070

71-
<a name=explanatory_comment>
71+
<a name="explanatory_comment"></a>
7272

7373
## Comment explaining what the test is about
7474

@@ -90,7 +90,7 @@ test must be rewritten because it no longer tests what is was meant to
9090
test, and then it's useful to know what it *was* meant to test
9191
exactly).
9292

93-
<a name=header_commands>
93+
<a name="header_commands"></a>
9494

9595
## Header commands: configuring rustc
9696

@@ -167,7 +167,7 @@ source.
167167

168168
[`header.rs`]: https://github.com/rust-lang/rust/tree/master/src/tools/compiletest/src/header.rs
169169

170-
<a name="error_annotations">
170+
<a name="error_annotations"></a>
171171

172172
## Error annotations
173173

@@ -229,7 +229,7 @@ currently only apply to the test as a whole, not to particular
229229
revisions. The only headers that are intended to really work when
230230
customized to a revision are error patterns and compiler flags.
231231

232-
<a name="ui">
232+
<a name="ui"></a>
233233

234234
## Guide to the UI tests
235235

src/traits-associated-types.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ though that is something we may want to change in the future.)
2222

2323
[intoiter-item]: https://doc.rust-lang.org/nightly/core/iter/trait.IntoIterator.html#associatedtype.Item
2424

25+
<a name="normalize"></a>
26+
2527
In some cases, associated type projections can be **normalized** --
2628
that is, simplified -- based on the types given in an impl. So, to
2729
continue with our example, the impl of `IntoIterator` for `Option<T>`

src/traits-bibliography.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ new every time you open it.
1010

1111
[phl]: https://www.amazon.com/Programming-Higher-Order-Logic-Dale-Miller/dp/052187940X
1212

13-
<a name=pphhf>
13+
<a name="pphhf"></a>
1414

1515
["A proof procedure for the logic of Hereditary Harrop formulas"][pphhf],
1616
by Gopalan Nadathur. This paper covers the basics of universes,
1717
environments, and Lambda Prolog-style proof search. Quite readable.
1818

1919
[pphhf]: https://dl.acm.org/citation.cfm?id=868380
2020

21-
<a name=slg>
21+
<a name="slg"></a>
2222

2323
["A new formulation of tabled resolution with delay"][nftrd], by
2424
[Theresa Swift]. This paper gives a kind of abstract treatment of the

src/traits-canonical-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Rc<?T>: Clone
9595

9696
After all, `Rc<?T>` is true **no matter what type `?T` is**.
9797

98-
<a name="query-response">
98+
<a name="query-response"></a>
9999

100100
## A trait query in rustc
101101

src/traits-goals-and-clauses.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ gives the details.
3939

4040
[pphhf]: ./traits-bibliography.html#pphhf
4141

42-
<a name="___domain-goals">
42+
<a name="___domain-goals"></a>
4343

4444
## Domain goals
4545

46-
<a name=trait-ref>
46+
<a name="trait-ref"></a>
4747

4848
To define the set of *___domain goals* in our system, we need to first
4949
introduce a few simple formulations. A **trait reference** consists of
@@ -58,7 +58,7 @@ IntoIterator`. Note that Rust surface syntax also permits some extra
5858
things, like associated type bindings (`Vec<T>: IntoIterator<Item =
5959
T>`), that are not part of a trait reference.
6060

61-
<a name=projection>
61+
<a name="projection"></a>
6262

6363
A **projection** consists of an associated item reference along with
6464
its inputs P0..Pm:
@@ -105,7 +105,7 @@ DomainGoal = Implemented(TraitRef)
105105

106106
[n]: ./traits-associated-types.html#normalize
107107

108-
<a name=coinductive>
108+
<a name="coinductive"></a>
109109

110110
## Coinductive goals
111111

0 commit comments

Comments
 (0)