Skip to content

Commit

Permalink
Fix unused lint for tokio's enter guard in blocking::wait (#1223)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Mar 22, 2021
1 parent 544282a commit dada01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocking/wait.rs
Expand Up @@ -70,7 +70,7 @@ fn enter() {
// Check we aren't already in a runtime
#[cfg(debug_assertions)]
{
tokio::runtime::Builder::new_current_thread()
let _enter = tokio::runtime::Builder::new_current_thread()
.build()
.expect("build shell runtime")
.enter();
Expand Down

0 comments on commit dada01e

Please sign in to comment.