Skip to content

Commit 2d5f10e

Browse files
committed
Add link to ProptestConfig.
1 parent d5012fa commit 2d5f10e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,13 +602,12 @@ fn my_test2(#[strategy(10..20)] _input: i32) {
602602
}
603603
```
604604

605-
You can change the configuration of a property test by setting the argument of `#[proptest]` attribute to a value of `proptest::prelude::ProptestConfig` type.
605+
You can change the configuration of a property test by setting the argument of `#[proptest]` attribute to a value of [`proptest::prelude::ProptestConfig`](https://docs.rs/proptest/latest/proptest/prelude/index.html#reexport.ProptestConfig) type.
606606

607607
```rust
608608
use proptest::prelude::ProptestConfig;
609609
use test_strategy::proptest;
610610

611-
612611
#[proptest(ProptestConfig { cases : 1000, ..ProptestConfig::default() })]
613612
fn my_test_with_config(_input: i32) {
614613
// ...

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@
597597
//! }
598598
//! ```
599599
//!
600-
//! You can change the configuration of a property test by setting the argument of `#[proptest]` attribute to a value of `proptest::prelude::ProptestConfig` type.
600+
//! You can change the configuration of a property test by setting the argument of `#[proptest]` attribute to a value of [`proptest::prelude::ProptestConfig`](https://docs.rs/proptest/latest/proptest/prelude/index.html#reexport.ProptestConfig) type.
601601
//!
602602
//! ```rust
603603
//! use proptest::prelude::ProptestConfig;

0 commit comments

Comments
 (0)