Fix unused lint for tokio's enter guard in blocking::wait (#1223)
This commit is contained in:
@@ -70,7 +70,7 @@ fn enter() {
|
|||||||
// Check we aren't already in a runtime
|
// Check we aren't already in a runtime
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
{
|
{
|
||||||
tokio::runtime::Builder::new_current_thread()
|
let _enter = tokio::runtime::Builder::new_current_thread()
|
||||||
.build()
|
.build()
|
||||||
.expect("build shell runtime")
|
.expect("build shell runtime")
|
||||||
.enter();
|
.enter();
|
||||||
|
|||||||
Reference in New Issue
Block a user