Skip to content

Commit

Permalink
runtime: fix typo in expect message (#5169)
Browse files Browse the repository at this point in the history
  • Loading branch information
attila-lin committed Nov 5, 2022
1 parent 687aa2b commit f464360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/future/block_on.rs
Expand Up @@ -5,7 +5,7 @@ cfg_rt! {
pub(crate) fn block_on<F: Future>(f: F) -> F::Output {
let mut e = crate::runtime::context::try_enter_blocking_region().expect(
"Cannot block the current thread from within a runtime. This \
happens because a functionattempted to block the current \
happens because a function attempted to block the current \
thread while the thread is being used to drive asynchronous \
tasks."
);
Expand Down

0 comments on commit f464360

Please sign in to comment.