From 07cc7d9960a1bc767dc051b9fae0c7ad2b5cd97f Mon Sep 17 00:00:00 2001 From: Johannes Oertel Date: Fri, 24 Apr 2015 17:30:41 +0200 Subject: Change name of unit test sub-module to "tests". Changes the style guidelines regarding unit tests to recommend using a sub-module named "tests" instead of "test" for unit tests as "test" might clash with imports of libtest. --- src/liballoc/heap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/liballoc') diff --git a/src/liballoc/heap.rs b/src/liballoc/heap.rs index 4c7441b1d2a..9d1d8a7ac24 100644 --- a/src/liballoc/heap.rs +++ b/src/liballoc/heap.rs @@ -384,7 +384,7 @@ mod imp { } #[cfg(test)] -mod test { +mod tests { extern crate test; use self::test::Bencher; use boxed::Box; -- cgit 1.4.1-3-g733a5