Skip to content

Commit 2d35c00

Browse files
authored
Merge pull request #231 from LSLeary/docfix
Fix misattribution of `races` docs to `nextUnique`
2 parents ef82ae8 + 98a8b05 commit 2d35c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

io-sim/src/Control/Monad/IOSimPOR/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ data SimState s a = SimState {
198198
clocks :: !(Map ClockId UTCTime),
199199
nextVid :: !VarId, -- ^ next unused 'TVarId'
200200
nextTmid :: !TimeoutId, -- ^ next unused 'TimeoutId'
201+
nextUniq :: !(Unique s), -- ^ next unused @'Unique' s@
201202
-- | previous steps (which we may race with).
202203
-- Note this is *lazy*, so that we don't compute races we will not reverse.
203-
nextUniq :: !(Unique s), -- ^ next unused @'Unique' s@
204204
races :: Races,
205205
-- | control the schedule followed, and initial value
206206
control :: !ScheduleControl,

0 commit comments

Comments
 (0)