Skip to content

Commit ec15add

Browse files
author
james
committed
docs: fix headings
1 parent 31bd2ab commit ec15add

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/language/learn-ql/cpp/value-numbering-hash-cons.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Why not a predicate?
6262

6363
The obvious interface for this library would be a predicate ``equivalent(Expr e1, Expr e2)``. However, this predicate would be very large, with a quadratic number of rows for each set of equivalent expressions. By using a class as an intermediate step, the number of rows can be kept linear, and therefore can be cached.
6464

65-
Example queries
66-
~~~~~~~~~~~~~~~
65+
Example query
66+
~~~~~~~~~~~~~
6767

6868
This query uses the ``GVN`` class to identify calls to ``strncpy`` where the size argument is derived from the source rather than the destination
6969

@@ -95,8 +95,8 @@ The hash consing library exposes its interface primarily through the ``HashCons`
9595

9696
To get the ``HashCons`` of an ``Expr``, use the ``hashCons`` predicate.
9797

98-
Examples
99-
~~~~~~~~
98+
Example query
99+
~~~~~~~~~~~~~
100100

101101
.. TODO: prose explanations
102102

0 commit comments

Comments
 (0)