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/libstd/dynamic_lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/dynamic_lib.rs') diff --git a/src/libstd/dynamic_lib.rs b/src/libstd/dynamic_lib.rs index d0f990eaf78..ef72cbc96e1 100644 --- a/src/libstd/dynamic_lib.rs +++ b/src/libstd/dynamic_lib.rs @@ -117,7 +117,7 @@ impl DynamicLibrary { } #[cfg(all(test, not(target_os = "ios")))] -mod test { +mod tests { use super::*; use prelude::v1::*; use libc; -- cgit 1.4.1-3-g733a5