Skip to content

Commit 6bcaa0b

Browse files
committed
doc: fix broken links in book
1 parent c117b76 commit 6bcaa0b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

book/src/proptest/tutorial/enums.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ limited. Creating such strategies with `prop_compose!` is possible but
55
generally is not very readable, so in most cases defining the function by
66
hand is preferable.
77

8-
The core building block is the [`prop_oneof!`](macro.prop_oneof.html)
8+
The core building block is the
9+
[`prop_oneof!`](https://docs.rs/proptest/latest/proptest/macro.prop_oneof.html)
910
macro, in which you list one case for each case in your `enum`. For `enum`s
1011
which have no data, the strategy for each case is
1112
`Just(YourEnum::TheCase)`. Enum cases with data generally require putting

book/src/proptest/tutorial/test-runner.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Using the Test Runner
22

33
Rather than manually shrinking, proptest's
4-
[`TestRunner`](test_runner/struct.TestRunner.html) provides this
5-
functionality for us and additionally handles things like panics. The
6-
method we're interested in is `run`. We simply
7-
give it the strategy and a function to test inputs and it takes care of the
8-
rest.
4+
[`TestRunner`](https://docs.rs/proptest/latest/proptest/test_runner/struct.TestRunner.html)
5+
provides this functionality for us and additionally handles things like panics.
6+
The method we're interested in is `run`. We simply give it the strategy and a
7+
function to test inputs and it takes care of the rest.
98

109
```rust
1110
# extern crate proptest;

0 commit comments

Comments
 (0)