Skip to content

Commit 53f5ebe

Browse files
authored
Merge pull request #170 from RalfJung/run_tests_generic
clarify run_tests_generic doc comment
2 parents 4a1e530 + 8771706 commit 53f5ebe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ struct TestRun {
229229

230230
/// A version of `run_tests` that allows more fine-grained control over running tests.
231231
///
232-
/// If multiple configs are provided only the first [`Config::threads`] value is used
232+
/// All `configs` are being run in parallel.
233+
/// If multiple configs are provided, the [`Config::threads`] value of the first one is used;
234+
/// the thread count of all other configs is ignored.
233235
pub fn run_tests_generic(
234236
mut configs: Vec<Config>,
235237
file_filter: impl Fn(&Path, &Config) -> bool + Sync,

0 commit comments

Comments
 (0)