Przeglądaj źródła

Update tasks.rs (#2703)

Matt Hunzinger 11 miesięcy temu
rodzic
commit
beeee0dda1
1 zmienionych plików z 1 dodań i 1 usunięć
  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();