ソースを参照

Update tasks.rs (#2703)

Matt Hunzinger 11 ヶ月 前
コミット
beeee0dda1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/core/src/tasks.rs

+ 1 - 1
packages/core/src/tasks.rs

@@ -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();