Skip to content

Commit

Permalink
Merge pull request #170 from RalfJung/run_tests_generic
Browse files Browse the repository at this point in the history
clarify run_tests_generic doc comment
  • Loading branch information
oli-obk authored Sep 26, 2023
2 parents 4a1e530 + 8771706 commit 53f5ebe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,9 @@ struct TestRun {

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

0 comments on commit 53f5ebe

Please sign in to comment.