We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c6a093 commit db13390Copy full SHA for db13390
src/libstd/sys/unix/rwlock.rs
@@ -58,7 +58,7 @@ impl RWLock {
58
}
59
panic!("rwlock read lock would result in deadlock");
60
} else {
61
- debug_assert_eq!(r, 0);
+ assert_eq!(r, 0);
62
self.num_readers.fetch_add(1, Ordering::Relaxed);
63
64
0 commit comments