diff options
Diffstat (limited to 'src/time.rs')
| -rw-r--r-- | src/time.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/time.rs b/src/time.rs index 4f5ab7f..b0ab4ab 100644 --- a/src/time.rs +++ b/src/time.rs @@ -145,6 +145,8 @@ mod clock { // VirtualClock stays `pub`: lives in the `test-support`-gated clock module, behind the gated `virtualize()` that returns it. pub struct VirtualClock { + // Held, never read: owning the mutex *is* the virtual clock's lease, + // and dropping this guard is what releases it. _owner: MutexGuard<'static, ()>, } |
