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 a06cd5f commit 4906d99Copy full SHA for 4906d99
tokio-timer/src/clock/clock.rs
@@ -133,8 +133,6 @@ where
133
/// This function panics if there already is a default clock set.
134
pub fn set_default(clock: &Clock) -> DefaultGuard<'_> {
135
CLOCK.with(|cell| {
136
- let mut current = current.borrow_mut();
137
-
138
assert!(
139
cell.get().is_none(),
140
"default clock already set for execution context"
0 commit comments