Auto merge of #807 - RalfJung:test-name, r=RalfJung

better name for a test: threads -> sync
This commit is contained in:
bors 2019-06-30 14:46:03 +00:00
commit aeb658e8bd

View 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());