From db6283b88447577f11e13b6eca99dfb7d0215b1b Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 30 Jun 2019 16:44:25 +0200 Subject: [PATCH 1/2] better name for a test: threads -> sync --- tests/run-pass/{threads.rs => sync.rs} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename tests/run-pass/{threads.rs => sync.rs} (100%) diff --git a/tests/run-pass/threads.rs b/tests/run-pass/sync.rs similarity index 100% rename from tests/run-pass/threads.rs rename to tests/run-pass/sync.rs From e44d38e0511376b73e1a17588780b21c359789f6 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 30 Jun 2019 16:45:41 +0200 Subject: [PATCH 2/2] improve comment --- tests/run-pass/sync.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/run-pass/sync.rs b/tests/run-pass/sync.rs index dad47d85a246..54d79566eae4 100644 --- a/tests/run-pass/sync.rs +++ b/tests/run-pass/sync.rs @@ -8,8 +8,7 @@ fn main() { drop(m.lock()); drop(m); - // We don't provide RwLock on Windows - #[cfg(not(target_os = "windows"))] + #[cfg(not(target_os = "windows"))] // TODO: implement RwLock on Windows { let rw = sync::RwLock::new(0); drop(rw.read());