@@ -70,7 +70,7 @@ struct Mutex {
7070 lock_count : usize ,
7171 /// The queue of threads waiting for this mutex.
7272 queue : VecDeque < ThreadId > ,
73- /// Data race handle, this tracks the happens-before
73+ /// Data race handle. This tracks the happens-before
7474 /// relationship between each mutex access. It is
7575 /// released to during unlock and acquired from during
7676 /// locking, and therefore stores the clock of the last
@@ -92,7 +92,7 @@ struct RwLock {
9292 writer_queue : VecDeque < ThreadId > ,
9393 /// The queue of reader threads waiting for this lock.
9494 reader_queue : VecDeque < ThreadId > ,
95- /// Data race handle for writers, tracks the happens-before
95+ /// Data race handle for writers. Tracks the happens-before
9696 /// ordering between each write access to a rwlock and is updated
9797 /// after a sequence of concurrent readers to track the happens-
9898 /// before ordering between the set of previous readers and
@@ -101,7 +101,7 @@ struct RwLock {
101101 /// lock or the joined clock of the set of last threads to release
102102 /// shared reader locks.
103103 data_race : VClock ,
104- /// Data race handle for readers, this is temporary storage
104+ /// Data race handle for readers. This is temporary storage
105105 /// for the combined happens-before ordering for between all
106106 /// concurrent readers and the next writer, and the value
107107 /// is stored to the main data_race variable once all
0 commit comments