]> git.lizzy.rs Git - rust.git/commitdiff
improve comment
authorRalf Jung <post@ralfj.de>
Sun, 30 Jun 2019 14:45:41 +0000 (16:45 +0200)
committerRalf Jung <post@ralfj.de>
Sun, 30 Jun 2019 14:45:41 +0000 (16:45 +0200)
tests/run-pass/sync.rs

index dad47d85a24663e68abbf8fdb2f246d851e4c323..54d79566eae4bceabd93330f520db22e45c1fd2c 100644 (file)
@@ -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());