diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-04-29 15:45:51 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-04-29 15:45:51 -0700 |
| commit | dd12c8b46fe0c12f9f9e0215b76e3d3b975acb95 (patch) | |
| tree | 55bb9dc3aafc4afb8f0efe943dff871a8c9754ac /src/doc/trpl | |
| parent | 416e4127e9d220e5168a12308aa6c3274dc5e13a (diff) | |
| parent | f99658d7c7522a76b4fb7ff0d09b53183c136e79 (diff) | |
| download | rust-dd12c8b46fe0c12f9f9e0215b76e3d3b975acb95.tar.gz rust-dd12c8b46fe0c12f9f9e0215b76e3d3b975acb95.zip | |
rollup merge of #24931: jooert/patch-1
Since #24783, the style guidelines recommend that unit tests should live in a submodule `tests` rather than `test` to not clash with the possible use of libtest. This is especially important for benchmark tests as they require libtest. Fixes #24923.
Diffstat (limited to 'src/doc/trpl')
| -rw-r--r-- | src/doc/trpl/benchmark-tests.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/benchmark-tests.md b/src/doc/trpl/benchmark-tests.md index 890a2f8ae7d..88796537593 100644 --- a/src/doc/trpl/benchmark-tests.md +++ b/src/doc/trpl/benchmark-tests.md @@ -13,7 +13,7 @@ pub fn add_two(a: i32) -> i32 { } #[cfg(test)] -mod test { +mod tests { use super::*; use test::Bencher; |
