summaryrefslogtreecommitdiffstats
path: root/tokio/src/runtime/builder.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-11-04 14:12:24 -0800
committerGitHub <noreply@github.com>2019-11-04 14:12:24 -0800
commit94f9b04b066cfc3da5c3ee2c961c21a9496135dd (patch)
tree8909528fef4351469835564f48cc7577559c19b3 /tokio/src/runtime/builder.rs
parent966ccd5d5306adf6b6c39721331c2a3c32be6fa8 (diff)
executor: switch some APIs to crate private. (#1731)
* switch `enter` to crate private * make executor types pub(crate)
Diffstat (limited to 'tokio/src/runtime/builder.rs')
-rw-r--r--tokio/src/runtime/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/runtime/builder.rs b/tokio/src/runtime/builder.rs
index 4e25a750..3efb96a0 100644
--- a/tokio/src/runtime/builder.rs
+++ b/tokio/src/runtime/builder.rs
@@ -349,7 +349,7 @@ impl Builder {
}
})
})
- .build_with_park(move |index| timers[index].lock().unwrap().take().unwrap())
+ .build(move |index| timers[index].lock().unwrap().take().unwrap())
};
Ok(Runtime {