File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -589,11 +589,10 @@ please see the [Documentation chapter](documentation.html).
589
589
590
590
# Testing and concurrency
591
591
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.
592
+ It is important to note that tests are run concurrently using threads. For this
593
+ reason, care should be taken to ensure your tests do not depend on each-other,
594
+ or on any shared state. "Shared state" can also include the environment, such
595
+ as the current working directory, or environment variables.
597
596
598
597
If this is an issue it is possible to control this concurrency, either by
599
598
setting the environment variable ` RUST_TEST_THREADS ` , or by passing the argument
You can’t perform that action at this time.
0 commit comments