Update tasks.rs (#2703)

This commit is contained in:
Matt Hunzinger authored and GitHub committed 2024-07-25 12:37:49 -05:00
1 parent 163586c3ff
commit beeee0dda1
1 file changed
+1 -1
+1 -1
View File
@@ -248,7 +248,7 @@ impl Runtime {
}
pub(crate) fn handle_task_wakeup(&self, id: Task) -> Poll<()> {
#[cfg(feature = "debug_assertions")]
#[cfg(debug_assertions)]
{
// Ensure we are currently inside a `Runtime`.
Runtime::current().unwrap();