Skip to content

Commit 56267ab

Browse files
committed
Update CONTRIBUTING.md with updating testing info
1 parent 8cd617d commit 56267ab

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,8 @@ Every crate has an example, and that example is duplicated in both
4343
README.md and in the `examples/` folder. So when updating an example
4444
make sure to do it in both places.
4545

46-
Test that the examples at least build with:
47-
48-
```
49-
cargo build --examples
50-
```
51-
52-
Note that `--examples` was added only in Rust 1.20.
46+
Test with `cargo test`, which will both build the examples in
47+
the `examples` folder, and run the examples in README.md.
5348

5449
Each crate in the README is accompanied with a short description. This
5550
description should tell a little story about Rust. When is this crate needed?

0 commit comments

Comments
 (0)