mirror of
https://github.com/LastExceed/spacermake.git
synced 2025-03-12 15:01:44 +01:00
add safety comment to an .unwrap()
This commit is contained in:
parent
12a99a28b1
commit
608c192805
@ -32,7 +32,7 @@ impl Booking {
|
|||||||
self.runtime_accumulator += self
|
self.runtime_accumulator += self
|
||||||
.currently_running_since
|
.currently_running_since
|
||||||
.take()
|
.take()
|
||||||
.unwrap()
|
.unwrap() //SAFETY: guaranteed by .is_running()
|
||||||
.elapsed();
|
.elapsed();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user