Skip to content

Commit 4906d99

Browse files
committed
fixup
Signed-off-by: Eliza Weisman <eliza@buoyant.io>
1 parent a06cd5f commit 4906d99

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tokio-timer/src/clock/clock.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ where
133133
/// This function panics if there already is a default clock set.
134134
pub fn set_default(clock: &Clock) -> DefaultGuard<'_> {
135135
CLOCK.with(|cell| {
136-
let mut current = current.borrow_mut();
137-
138136
assert!(
139137
cell.get().is_none(),
140138
"default clock already set for execution context"

0 commit comments

Comments
 (0)