upgrade tokio to latest version(v0.3)

This commit is contained in:
valbendan 2020-11-05 11:36:23 +08:00
parent e6131783e9
commit eacb2e913f
4 changed files with 7 additions and 5 deletions

View file

@ -40,7 +40,8 @@ mod platform {
}
fn enter<R>(&self, f: impl FnOnce() -> R) -> R {
self.0.enter(f)
let _guard = self.0.enter();
f()
}
}
}