We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b2e3cb commit 716e632Copy full SHA for 716e632
crates/bevy_platform/src/future.rs
@@ -11,7 +11,7 @@ crate::cfg::switch! {
11
/// Blocks on the supplied `future`.
12
/// This implementation will busy-wait until it is completed.
13
/// Consider enabling the `async-io` or `futures-lite` features.
14
- pub fn block_on<T>(future: impl core::future::Future<Output = T>) -> T {
+ pub fn block_on<T>(future: impl Future<Output = T>) -> T {
15
use core::task::{Poll, Context};
16
17
// Pin the future on the stack.
0 commit comments