Skip to content

Commit

Permalink
Auto merge of #2227 - RalfJung:doc, r=RalfJung
Browse files Browse the repository at this point in the history
make some rustdoc comments more readable
  • Loading branch information
bors committed Jun 11, 2022
2 parents c5f7a7d + 5f1ba44 commit ada7b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/concurrency/data_race.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
//! because it only re-uses vector indexes once all currently-active (not-terminated) threads have an internal
//! vector clock that happens-after the join operation of the candidate thread. Threads that have not been joined
//! on are not considered. Since the thread's vector clock will only increase and a data-race implies that
//! there is some index x where clock\[x\] > thread_clock, when this is true clock\[candidate-idx\] > thread_clock
//! there is some index x where `clock[x] > thread_clock`, when this is true `clock[candidate-idx] > thread_clock`
//! can never hold and hence a data-race can never be reported in that vector index again.
//! This means that the thread-index can be safely re-used, starting on the next timestamp for the newly created
//! thread.
Expand Down

0 comments on commit ada7b72

Please sign in to comment.