Skip to content

Commit 55615e8

Browse files
committed
Fix instructions for testing contributions
Since separation of serde_core from serde, all doctests lives in serde_core project, which also does not have the `derive` feature. Following the old instructions does not run any tests.
1 parent 1d7899d commit 55615e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ pull request with your changes. If anything does not pass, typically it will be
2727
easier to iterate and fix it locally than waiting for the CI servers to run
2828
tests for you.
2929

30-
##### In the [`serde`] directory
30+
##### In the [`serde_core`] directory
3131

3232
```sh
3333
# Test all the example code in Serde documentation
34-
cargo test --features derive
34+
cargo test
3535
```
3636

3737
##### In the [`test_suite`] directory
@@ -43,7 +43,7 @@ cargo +nightly test --features unstable
4343

4444
Note that this test suite currently only supports running on a nightly compiler.
4545

46-
[`serde`]: https://github.com/serde-rs/serde/tree/master/serde
46+
[`serde_core`]: https://github.com/serde-rs/serde/tree/master/serde_core
4747
[`test_suite`]: https://github.com/serde-rs/serde/tree/master/test_suite
4848

4949
## Conduct

0 commit comments

Comments
 (0)