We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7377782 commit 7508454Copy full SHA for 7508454
wip/stacked-borrows.md
@@ -60,9 +60,12 @@ pub struct Stack {
60
}
61
62
/// Extra per-call-frame state: an ID uniquely identifying a stack frame.
63
+/// (The order of `CallId` does not matter, they are only ever compared for equality.)
64
type CallId = nat;
65
-/// Extra global state: the next unused `Timestamp`, as well as the next unused `CallId`.
66
+/// Extra global state: the next `Timestamp`, as well as the next `CallId`.
67
+/// Both are just monotonically increasing counters, ensuring they are unique
68
+/// (for `CallId`) and properly ordered (for `Timestamp`).
69
pub struct Tracking {
70
clock: Timestamp,
71
next_call: CallId,
0 commit comments