Skip to content

Commit 23d84cb

Browse files
committed
ob.html: display page contents header
1 parent c908765 commit 23d84cb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spec/ob.dd

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $(P Functions with the `@live` attribute enable diagnosing these sorts of errors
6161
tracking the status of owner pointers.
6262
)
6363

64-
$(H2 Ownership/Borrowing)
64+
$(H2 $(LNAME2 ob, Ownership/Borrowing))
6565

6666
$(P Tracking the ownership status of a pointer can be safely extended by adding the
6767
capability of temporarilly $(I borrowing) ownership of a pointer from the $(I owner).
@@ -109,7 +109,7 @@ $(P It will not detect attempts to dereference `null` pointers or possibly
109109
of annotating a type as a non-`null` pointer.
110110
)
111111

112-
$(H3 Tracked Pointers)
112+
$(H3 $(LNAME2 tracked, Tracked Pointers))
113113

114114
$(P The only pointers that are tracked are those declared in the `@live` function
115115
as `this`, function parameters or local variables. Variables from other
@@ -120,7 +120,7 @@ Parameters that are `const` are not tracked.
120120
)
121121

122122

123-
$(H3 Pointer States)
123+
$(H3 $(LNAME2 state, Pointer States))
124124

125125
$(P Each tracked pointer is in one of the following states:
126126
)
@@ -163,7 +163,7 @@ must not be a pointer to mutable.
163163
)
164164
)
165165

166-
$(H3 Lifetimes)
166+
$(H3 $(LNAME2 lifetime, Lifetimes))
167167

168168
$(P The lifetime of a Borrowed or Readonly pointer value starts when it is
169169
assigned a value from an Owner or another Borrowed pointer, and ends at
@@ -174,7 +174,7 @@ $(P This is also known as $(I Non-Lexical Lifetimes).
174174
)
175175

176176

177-
$(H3 Pointer State Transitions)
177+
$(H3 $(LNAME2 transition, Pointer State Transitions))
178178

179179
$(P A pointer changes its state when one of these operations is done to it:
180180
)
@@ -214,7 +214,7 @@ $(LI merging of control flow reconciles the state of each variable based on the
214214
states they have from each edge)
215215
)
216216

217-
$(H3 Borrowers can be Owners)
217+
$(H3 $(LNAME2 borrower, Borrowers can be Owners))
218218

219219
$(P Borrowers are considered Owners if they are initialized from other than
220220
a pointer.
@@ -229,7 +229,7 @@ a pointer.
229229

230230
---
231231

232-
$(H3 Exceptions)
232+
$(H3 $(LNAME2 exception, Exceptions))
233233

234234
$(P The analysis assumes no exceptions are thrown.
235235
)
@@ -258,12 +258,12 @@ $(P One solution is to use `scope(exit)`:
258258
$(P or use RAII objects or call only `nothrow` functions.
259259
)
260260

261-
$(H3 Lazy Parameters)
261+
$(H3 $(LNAME2 lazy, Lazy Parameters))
262262

263263
$(P Lazy parameters are not considered.
264264
)
265265

266-
$(H3 Mixing Memory Pools)
266+
$(H3 $(LNAME2 mempool, Mixing Memory Pools))
267267

268268
$(P Conflation of different memory pools:
269269
)
@@ -298,7 +298,7 @@ vfree(p); // type mismatch
298298
$(P and perhaps disabling implicit conversions to `void*` in `@live` functions.
299299
)
300300

301-
$(H3 Variadic Function Arguments)
301+
$(H3 $(LNAME2 vargs, Variadic Function Arguments))
302302

303303
$(P Arguments to variadic functions (such as `printf`) are considered to be consumed.
304304
)

0 commit comments

Comments
 (0)