Skip to content

Commit fae8859

Browse files
authored
docs: fix a few broken links (#2441)
1 parent e1cc323 commit fae8859

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

source/docs/guide/src/container_bst_clone.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ This can be done using [`call_ensures`](./exec_funs_as_values.md).
5454
The predicate `call_ensures(V::clone, (&self@[key],), res@[key])` effectively says
5555
"`self@[key]` and `res@[key]` are a possible input-output pair for `V::clone`".
5656
This predicate is a mouthful, so `vstd` provides a helper function:
57-
<code class="hljs"><a href="https://verus-lang.github.io/verus/source/doc/vstd/pervasive/fn.cloned.html">cloned::&lt;V&gt;</a>(self@[key], res@[key])</code>
57+
<code class="hljs"><a href="https://verus-lang.github.io/verus/verusdoc/vstd/pervasive/fn.cloned.html">cloned::&lt;V&gt;</a>(self@[key], res@[key])</code>
5858

5959
### Understanding the implications of the signature
6060

source/docs/guide/src/external_trait_specifications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ assumed to uphold the specification. For example, if you verify a crate with
1616
satisfy the `Formatter` specification, even if that type comes from an unverified crate.
1717
This is a contract on both current and future unverified code.
1818

19-
[See below](the_obeys_pattern_in_vstd) for a useful pattern (employed by `vstd`) for mitigating this soundness risk.
19+
[See below](#the-obeys_-pattern-in-vstd) for a useful pattern (employed by `vstd`) for mitigating this soundness risk.
2020

2121
## Basic external trait specification
2222

source/docs/guide/src/recursion.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ With these restrictions, the expression in the `decreases` clause serves as an u
3131
depth of calls that `triangle` can make to itself, ensuring termination.
3232

3333
While Verus can often complete these proofs of termination automatically,
34-
it sometimes needs [additional help with the proof](reference-decreases).
34+
it sometimes needs additional help with the proof.
35+
Such a proof can be supplied in a number of sees; see [this page](./reference-decreases.md#helping-verus-prove-termination).
3536

3637
# Fuel and reasoning about recursive functions
3738

source/docs/guide/src/spec-operator-precedence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| [`is` `matches`](./datatypes_enum.md) | left |
88
| [`*` `/` `%`](./spec-arithmetic.md) | left |
99
| [`+` `-`](./spec-arithmetic.md) | left |
10-
| [`<<` `>>`](./spec-bit-operators.md) | left |
10+
| [`<<` `>>`](./spec-bit-ops.md) | left |
1111
| [`&`](./spec-bit-ops.md) | left |
1212
| [`^`](./spec-bit-ops.md) | left |
1313
| [<code>&#124;</code>](./spec-bit-ops.md) | left |

0 commit comments

Comments
 (0)