Skip to content

Commit

Permalink
Update madsim/src/sim/runtime/mod.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wangrunji0408 authored Apr 9, 2024
1 parent 481659f commit 583afa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion madsim/src/sim/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ impl Handle {
F: FnOnce() -> R + Send + 'static,
R: Send + 'static,
{
unimplemented!()
unimplemented!("blocking function is not allowed in simulation")
}

/// Returns the random seed of the current runtime.
Expand Down

0 comments on commit 583afa4

Please sign in to comment.