Skip to content

Commit d950ca1

Browse files
committed
Minor fix to testing concurrency section
1 parent 149e76f commit d950ca1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/doc/book/testing.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -589,11 +589,11 @@ please see the [Documentation chapter](documentation.html).
589589

590590
# Testing and concurrency
591591

592-
One thing that is important to note when writing tests are run concurrently
593-
using threads. For this reason you should take care that your tests are written
594-
in such a way as to not depend on each-other, or on any shared state. "Shared
595-
state" can also include the environment, such as the current working directory,
596-
or environment variables.
592+
One thing that is important to note when writing tests is that they may be run
593+
concurrently using threads. For this reason you should take care that your tests
594+
are written in such a way as to not depend on each-other, or on any shared
595+
state. "Shared state" can also include the environment, such as the current
596+
working directory, or environment variables.
597597

598598
If this is an issue it is possible to control this concurrency, either by
599599
setting the environment variable `RUST_TEST_THREADS`, or by passing the argument

0 commit comments

Comments
 (0)